Hi Marvin,
Thank you very much
I changed the filter as you said and its working now for all the users
except for admin.
I used BindLdapAuthenticationHandler in order to allow the admin also but
it saying that the CAS is unavailable.
I am sorry if my question/understanding is wrong.
<bean class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler" >
<property name="filter" value="cn=%u,ou=users,ou=system" />
<property name="contextSource" ref="contextSource" />
</bean>
Thank you,
Ammaiyan
On Thu, Dec 3, 2009 at 11:18 PM, Marvin Addison <[email protected]>wrote:
> > ou=system
> > uid=admin
> > ou=configurations
> > ou=groups
> > prefNodeName=sysPrefNode
> > ou=users
> > cn=ammaiyan
> > cn=kanichelvam
> > cn=ram
> >
> > I am getting the same error if login as ammaiyan, whereas if I login as
> > admin it seems to be fine
>
> That's because of the following filter definition in your auth handler:
>
> <property name="filter" value="uid=%u,ou=system" />
>
> If you want to authenticate your test users, use the following filter:
>
> cn=%u,ou=users,ou=system
>
> Note you will no longer be able to authenticate as admin. If you have
> a need to authenticate users under multiple branches, you'll need to
> use the BindLdapAuthenticationHandler which performs a search for the
> DN before the bind. The search base would be ou=system in your case
> above, the base common to all branches containing users you wish to
> authenticate.
>
> M
>
> --
> 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