I think I solved it, I'm still using the ClientLoginModule on the client-side, 
and the following mapping seems to have solved it, I can now see the roles 
properly:

myldap {
  org.jboss.security.auth.spi.LdapLoginModule required
  java.naming.factory.initial="com.sun.jndi.ldap.LdapCtxFactory"
  java.naming.provider.url="ldap://192.168.2.25:389";
  java.naming.security.authentication="simple"
  principalDNPrefix="uid="
  principalDNSuffix=",cn=users,dc=localdomain"
  //matchOnUserDN="true"
  uidAttributeID="memberUid"
  rolesCtxDN="cn=groups,dc=localdomain"
  roleAttributeID="cn"
  //roleAttributeIsDN="false"
   ;
};

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to