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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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...)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LDAP query string or operation
 
Similar Threads
JAAS Configuration gives Authontication Failure Error
LDAP with JNDI trouble
JAAS Configuration gives Authontication Failure Error
JNDIRealm and digest
Windows Authentication Using Tomcat 5.0