wood burning stoves 2.0 *
The moose likes Security and the fly likes LDAP query string or operation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "LDAP query string or operation" Watch "LDAP query string or operation" New topic
Author

LDAP query string or operation

levani dvalishvili
Ranch Hand

Joined: Mar 01, 2005
Posts: 99
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?
[ March 07, 2006: Message edited by: levani dvalishvili ]

SCJP 1.5(Done) SCJA 1.0(Done)<br />SCWCD(in Progress...)
 
wood burning stoves
 
subject: LDAP query string or operation