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.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885359#3885359

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885359


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to