Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. zcolton

    How to get SamAccountName in LDAP

    If you want a list of usernames: replace the groupldap variable with what you are using. <%@ Language=VBScript %> <html> <head> <script language=JScript runat=server> function SortVBArray(arrVBArray) { return arrVBArray.toArray().sort().join('\b'); } </script> </head> <body> <%...
  2. zcolton

    How to get SamAccountName in LDAP

    are you trying to get the list of users in a specific group? zc
  3. zcolton

    Redirecting hostname to website

    You are correct in thinking that isa requires FQDN Direct users to only use FQDN zc
  4. zcolton

    Allowing Authenticated Access

    where is the isa? Internal LAN <---> ISA <----> Firewall <---> Internet or Internal LAN <---> Firewall <----> ISA <---> Internet zc
  5. zcolton

    ASP LDAP group authentication

    CharleyDC5, It can be done using a sort function. Please post your code and I can show you the changes you need to make. zcolton
  6. zcolton

    ASP LDAP group authentication

    darvoset, replace "mydomainname" with the netbios name of your domain. On the Line If tempgroup="staff" then , replace staff with the name of the group you are looking to authenticate against. <% strUsername=Replace(Request.Form("txtUserLogin"), "'", "''")...
  7. zcolton

    LDAP SECURITY GROUPS AND DISTRIBUTION LISTS

    Mo, What functions did you want to perform? Z
  8. zcolton

    LDAP SECURITY GROUPS AND DISTRIBUTION LISTS

    Mo, I haven't had the chance to do any coding, but I know how I want to lay them out. I've busy around here trying to automate a few other things. I should have a chance to dive into it tomorrow. zcolton
  9. zcolton

    LDAP SECURITY GROUPS AND DISTRIBUTION LISTS

    attarMo, Quite some time ago, I've learned it's much easier, and in most cases more powerful to use span's and div's and styles to control them. You'ld have a lot more control over data location and such. Tables also make webpages take longer to load. Still working on other pages... zcolton
  10. zcolton

    LDAP SECURITY GROUPS AND DISTRIBUTION LISTS

    attarMo, work in progress (I have to clean up the code a bit, but it functions) I'm also starting to build a page to do edits, adds, and deletes with groups and users. This is a single page that takes care of security groups and DL's. the page is dynamic enough so that it doesn't matter what...
  11. zcolton

    LDAP SECURITY GROUPS AND DISTRIBUTION LISTS

    attarMo, Please give me a day to have the whole thing completed. zcolton
  12. zcolton

    ASP LDAP group authentication

    darvoset, run the asp as -> webpage.asp?user=someusername I didn't write a complete package to replace what you have done so far. This is simply a demonstration as to how to get the groups a user is a member of. You would need to modify the parts you need to fit your application. zcolton
  13. zcolton

    LDAP GROUPS

    <%@ Language=VBScript %> <html> <head> </head> <body> <% strUsername = request.queryString("user") strUserName = Right(strUserName, Len(strUserName) - InStrRev(strUserName, "\")) Set objDomain = GetObject ("GC://rootDSE") objADsPath = objDomain.Get("defaultNamingContext") Set objDomain = Nothing...
  14. zcolton

    ASP LDAP group authentication

    darvoset, Here is some code that you might be able to use: <%@ Language=VBScript %> <html> <head> </head> <body> <% strUsername = request.queryString("user") strUserName = Right(strUserName, Len(strUserName) - InStrRev(strUserName, "\")) Set objDomain = GetObject ("GC://rootDSE") objADsPath =...
  15. zcolton

    Troubleshooting a connection to LDAP ...

    john2288, If I remember correctly, Integrated authentication won't work because of the "double hop" security issues MS has documented throughout their knowledgebase. Try basic authentication and see if it works. zcolton
  16. zcolton

    Troubleshooting a connection to LDAP ...

    john2288, It is a security problem. Verify the account used to access the page by displaying the Request.ServerVariables("REMOTE_USER") variable zcolton
  17. zcolton

    Troubleshooting a connection to LDAP ...

    john2288, What is the exact error you are getting? zcolton
  18. zcolton

    Troubleshooting a connection to LDAP ...

    The only way to get Request.ServerVariables("REMOTE_USER") is to have the user authenticate with their own credentials (basis or integrated) zcolton
  19. zcolton

    Troubleshooting a connection to LDAP ...

    Addition: Modifier NTFS permissions on directories that are used by IIS could cause problems if not done correctly. After all else is configured, see if it works. If an Access Denied page is displayed, then you would need to make the needed changes. Also, it isn't absolutely necessary to...

Part and Inventory Search

Back
Top