1 Reply Latest reply on Jul 30, 2005 12:14 PM by Scott Stark

    Active Directory

    Patrick Dalla Bernardina Apprentice

      Hi,

      I'm configuring LDAPLoginModule as follows:

       <login-module code="org.jboss.security.auth.spi.LdapLoginModule" flag="required" >
       <module-option name="java.naming.provider.url">ldap://server.mydomain.com:389/</module-option>
       <module-option name="rolesCtxDN">cn=Users,dc=mydomain,dc=com,</module-option>
       <module-option name="matchOnUserDN">false</module-option>
       <module-option name="principalDNSuffix">@mydomain.com</module-option>
       <module-option name="uidAttributeID">sAMAccountName</module-option>
       <module-option name="roleAttributeID">memberOf</module-option>
       <module-option name="roleAttributeIsDN">true</module-option>
       <module-option name="roleNameAttributeID">name</module-option>
       </login-module>
      


      it works well when the user is under Users folder.

      When he is in an OU it doens't functions.

      How I configure the LDAPLoginModule to look for users in any OU on my domain.