I have used the template provided by Eric Pierce in this thread for JASIG CAS:
http://jasig.275507.n4.nabble.com/CAS-Multiple-BindLdapAuthenticationHandler-td2133071.html Linda Toth University of Alaska - Office of Information Technology (OIT) - Identity and Access Management 910 Yukon Drive, Suite 103 Fairbanks, Alaska 99775 Tel: 907-450-8320 Fax: 907-450-8381 [email protected] | www.alaska.edu/oit/ On Wed, Apr 9, 2014 at 9:21 AM, John Gasper <[email protected]> wrote: > 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] <[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 > > -- 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
