How to search users in different AD userbases?...
ranjaniWed Jan 01, 2014 09:40 PM
We are trying to search users in different userbases with their userPrincipalName.
We could search users in multiple base by using userPattern, however if we use it, we could search nly with the attributes that are in the distinguished name. We need to serach users with the attributes that are not in the distinguished name.
Heres a sample scenario:
user A is at ou=Alpha,dc=test,dc=ad,dc=com.
DN of userA is cn=Auser,ou=Alpha,dc=test,dc=ad,dc=com
user B is at ou=Beta,dc=test,dc=ad,dc=com
DN of userB is cn=Buser,ou=Beta,dc=test,dc=ad,dc=com
userPrincipalName = firstname.lastname@example.org
We need to search the users with their userPrincipalName.
Heres what we have done in the context.xml.
But userSubtree doesnot work.
Help needed to search users in different directories!!! userPattern is not our option. Please suggest some solutions.
Report | Quote This | Reply | Print