Hi Jean Baptiste, no problem, I finally found the problem.

I didn't understand well your answer. But I cannot do anonymous binds no.

The fact is that i can execute requests on the ldap server but when it comes
to role validation,
the role used by karaf to authentificate the user is : 
role.name.attribute = cn
But the attribute cn is not set in ldap to "admin"(and not used for roles so
it cannot auth the user.

The filter is :
role.filter=(&(objectClass=user)(sAMAccountName=%u))

is there a way to bypass the role validation ? Or to use a role filter which
returns "admin" if there is a match in ldap ?

Christophe



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Jaas-realm-problem-tp4031391p4031407.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to