Hi,

Can you see the login module in the jaas:realm-list ?

If not, can you add debug option in LDAPLoginModule configuration:

debug=true

Please, send me the log in debug.

Thanks,
Regards
JB

On 06/02/2019 10:32, abdelb wrote:
> Sure: 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
>            xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.1.0";
>           
> xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0";>
> 
>       <jaas:config name="karaf" rank="1">
>               <jaas:module
> className="org.apache.karaf.jaas.modules.ldap.LDAPLoginModule"
> flags="required">
>                               connection.url = ldap://xxx:xxx
>                 connection.username = CN=xxx,OU=xxx,OU=xxx,DC=xxx,DC=xxx
>                 connection.password = xxx
>                 user.base.dn = DC=xxx,DC=xxx
>         user.filter = (uid=%u)
>         user.search.subtree = true
>         role.base.dn = OU=xxx,OU=xxx,DC=xxx,DC=xxx
>         role.filter = (member:=%fqdn)
>         role.name.attribute = CN
>         role.search.subtree = true
>         role.mapping = xxx=admin,viewer,systembundles,manager
>         authentication = simple
>               </jaas:module>
>       </jaas:config>
> 
> </blueprint>
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to