Need help about LDAP path

Last post 07-24-2008 10:43 PM by wkm1925. 2 replies.

Sort Posts:

  • Need help about LDAP path

    07-24-2008, 9:57 AM
    • Member
      23 point Member
    • wkm1925
    • Member since 05-29-2004, 9:26 PM
    • Posts 32

    My authentication now working using ASP.NET and Active Directory. My LDAP path=LDAP://jai.sha.corpnet.com/CN=Users,DC=sha,DC=corpnet,DC=com.

     My problem is, the authentication only searching in Users directory. How to adjust LDAP path above to make it possible to searching directory Kua/JO/Manage/User ?

     Really need help.

  • Re: Need help about LDAP path

    07-24-2008, 7:11 PM
    Answer
    • All-Star
      28,218 point All-Star
    • johram
    • Member since 06-13-2006, 10:36 AM
    • Sweden
    • Posts 3,543
    • Moderator

    You can only have one root when searching. So either you'll have to perform two searches, one in each container, or you can define your search root higher up in the directory.

    The decision depends on how your directory is structured. If you really want to allow users only from these two containers, then you need to perform two authentication attempts, one for the first container and one for the second container. However, if you only have users in those two containers, you can set the root higher up in the structure, to cover both containers - with a little performance penalty.

    Which path to choose depends on what your requirements are. But in your case, I'd guess that you should setup a "fallback" authentication attempt on the second container.

    If this post was useful to you, please mark it as answer. Thank you!
  • Re: Need help about LDAP path

    07-24-2008, 10:43 PM
    • Member
      23 point Member
    • wkm1925
    • Member since 05-29-2004, 9:26 PM
    • Posts 32

    Kindest Johram,

     This info help me a lot. Smile

Page 1 of 1 (3 items)