2 Replies Latest reply on Mar 28, 2011 9:52 AM by Daryl Hoyt

    Setting the LDAP role for Karaf

    Daryl Hoyt Newbie

      I have LDAP setup in my ServiceMix 4 environment using the ldap-module.xml file.  The issue is that as long as a user on the LDAP server has a valid login, they can sign into karaf.  What I would really like is to only allow login if the user is a member of the smxAdmin group (cn=smxAdmin,ou=roles,dc=example,dc=com).  I looked at both the org.apache.karaf.shell.cfg and system.properties files, but I don't see a place to add the role I want to compare against.  I'd like to use this with all Karaf logins (karaf, SSH, and Web Console). 



      Any idea how I can accomplish this?