Last post Jul 24, 2008 10:43 PM by wkm1925
Jul 24, 2008 09:57 AM|wkm1925|LINK
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.
Jul 24, 2008 07:11 PM|johram|LINK
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.
Jul 24, 2008 10:43 PM|wkm1925|LINK
This info help me a lot. [:)]