This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Security and the fly likes Multiple OU ´s in JNDILoginModule.xml for LDAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Multiple OU ´s in JNDILoginModule.xml for LDAP" Watch "Multiple OU ´s in JNDILoginModule.xml for LDAP" New topic
Author

Multiple OU ´s in JNDILoginModule.xml for LDAP

ayi bogan
Greenhorn

Joined: Aug 29, 2010
Posts: 7
It is possible to put/search over multiple OU(in this example Org1,Org2,Org3) in the JNDILoginModul.xml?

I have this LDAP Structur:



For now, i just can search for one OU (like Org1) with:
<userBase>OU=Users,OU=Org1,OU=Org,DC=...,DC=...</userBase>

I know that i can define/implement multiple JNDIModuls in the jaasConfig, but i hoped that i can search over multiple OU´s in one LDAp Connection.

Thanks for helps.
 
Consider Paul's rocket mass heater.
 
subject: Multiple OU ´s in JNDILoginModule.xml for LDAP