> 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

Reply via email to