To add onto Idan's response, Or, if you want to exclude "ou=Users3,dc=example,dc=org", you'll need to duplicate your authHandlers, etc with different search paths of ou=Users1 and ou=Users2, respectively.
-- *John Gasper* IAM Consultant Unicon, Inc. On 4/9/14, 5:17 AM, Idan Fridman wrote: > Yes, > Modify your searchBase by not mentation any ou's and it will automatically > will search within all the tree. (just keep the dc's) > > > > -----Original Message----- > From: Andres [mailto:[email protected]] > Sent: Wednesday, April 09, 2014 2:32 PM > To: [email protected] > Subject: [cas-user] Check authentication against several OUs > > Hi, is there a way to check the user's authentication against serveral OUs in > LDAP? > > For example, I want to get a success login if the user exists in > ou=Users1,dc=example,dc=org OR exists in ou=Users2,dc=example,dc=org > > I'm using CAS 4.0 RC4. Thank you! > -- > You are currently subscribed to [email protected] as: > [email protected] To unsubscribe, change settings or access > archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user > This e-mail and the information it contains may be privileged and/or > confidential. It is intended solely for the use of the named recipient(s). If > you are not the intended recipient you may not disclose, copy, distribute or > retain any part of this message or attachments. If you have received this > e-mail in error please notify the sender immediately [by clicking 'Reply'] > and delete this e-mail. > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
