Supporting multiple search bases came up again in a Unicon technical support context, so I've added a page to the CAS user manual documenting the options, drawing on the inputs in this email list thread.
https://wiki.jasig.org/display/CASUM/LDAP+Authentication+with+Multiple+Search+Bases Kind regards, Andrew On Wed, Jul 31, 2013 at 11:02 PM, Farzan Qureshi <[email protected] > wrote: > Dear Community, > > I configured CAS an year ago. Our CAS authenticate users against our LDAP > server. At the moment I have complete LDAP tree as a search option. > > <bean class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler" > p:filter="mail=%u" > p:searchBase="ou=people,dc=example,dc=com" > p:contextSource-ref="contextSource" > p:searchContextSource-ref="pooledContextSource" /> > > If I want to have two search base that is one for Students and one for > staff, how I can assign search base for two different user base? > > p:searchBase="ou=students,dc=example,dc=com" ??? > p:searchBase="ou=staff,dc=example,dc=com" ??? > > Thanks in anticipation. > > Kind regards, > > > -- > *Farzan Qureshi* | Network Administrator & Help-desk Support | Rosmini > College | (09) 487 0 530 > > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error please notify the system manager ( > [email protected]). Please note that any views or opinions > presented in this email are solely those of the author and do not > necessarily represent those of the company. Finally, the recipient should > check this email and any attachments for the presence of viruses. Rosmini > College accepts no liability for any damage caused by any virus > transmitted by this email. > > -- > 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
