I think, (and I may be wrong) that you would just need to configure another 
authentication handler for the second scope.  It should try them in turn.

Geoff

From: Farzan Qureshi [mailto:[email protected]]
Sent: Wednesday, July 31, 2013 11:03 PM
To: [email protected]
Subject: [cas-user] Multiple search base for LDAP

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]<mailto:[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]<mailto:[email protected]> as: 
[email protected]<mailto:[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

Reply via email to