2 Replies Latest reply on Dec 21, 2005 11:20 AM by Jeff

    JBoss 4.0.2 OpenLDAP- memberOf ?

    Jeff Newbie

      Hello all,

      I'm trying to get JBoss 4.0.2 working with OpenLDAP.

      OpenLDAP doesnt seem to support the varible "memberOf"

      This is the login-conf.xml I have...

      <application-policy name="ebusiness">
       <authentication>
       <login-module code="org.jboss.security.auth.spi.LdapLoginModule" flag="required" >
       <module-option name="java.naming.provider.url">ldap://localhost:389/</module-option>
       <module-option name="uidAttributeID">member</module-option>
       <module-option name="matchOnUserDN">true</module-option>
       <module-option name="principalDNPrefix">uid=</module-option>
       <module-option name="principalDNSuffix">,ou=Accounts,dc=example,dc=com</module-option>
       <module-option name="rolesCtxDN">ou=Roles,dc=example,dc=com</module-option>
       </login-module>
       </authentication>
       </application-policy>


      When I try to login, it accepts the password, but has some issue with the group lookup. no exception is thrown.

      Has anyone got this working? or know of a tutorial/example of how to setup JBoss & OpenLDAP (Not Active Directory)?


      OpenLDAP Ver: openldap-2.2.19-db-4.3.21-openssl-0.9.7e-win32.exe