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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDAP query problem

Status
Not open for further replies.

dlevancho

Programmer
Joined
Mar 9, 2006
Messages
2
Location
US
I have the case that Users that neet to be authenticated are under two differenct OUs
UserBaseDN="OU=someOU1,DC=web,DC=javaranch,DC=com"
UserBaseDN="OU=someOU2,DC=web,DC=javaranch,DC=com"

user are distributed in both OUs half is under someOu1 and other half is in someOU2 so I am wondering how would I construct a userBase attribute :

userBase="ou=someOU,dc=yourcompany,dc=com"
userSearch="(uid={0})"
roleBase="ou=groups,dc=yourcompany,dc=com"
roleName="cn"
roleSearch="(member={0})"


any suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top