0 Replies Latest reply on Feb 8, 2016 8:44 AM by mukhan

    LDAP OU Integration

    mukhan

      Hi

       

      I am trying to integrate jboss 5 with AD.The users in the users OU are authenticated but users of the rest of OUs are not authenticating.The settings in login-config.xml are as follows;

       

      <application-policy name="jmx-console">

      <authentication>

            <login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required" >

               <module-option name="java.naming.provider.url">ldap://ab.cd.ef:389</module-option>

               <module-option name="bindDN">PTCL\admin</module-option>

               <module-option name="bindCredential">passwd</module-option>

               <module-option name="baseCtxDN">cn=Users,dc=ab,dc=cd,dc=ef</module-option>

               <module-option name="baseFilter">(sAMAccountName={0})</module-option>

               <module-option name="rolesCtxDN">cn=Users,dc=ab,dc=cd,dc=ef</module-option>

               <module-option name="roleFilter">(sAMAccountName={0})</module-option>

               <module-option name="roleAttributeID">memberOf</module-option>

               <module-option name="roleAttributeIsDN">true</module-option>

               <module-option name="roleNameAttributeID">cn</module-option>

               <module-option name="roleRecursion">-1</module-option>

               <module-option name="searchScope">ONELEVEL_SCOPE</module-option>

            </login-module>

         </authentication>


      Is there something I am doing wrong?Please tell me hoe to integrate the users of OU other then Users.


      Regards,

      Umar