Thank you Fabio,I will check and try out your solution and then reply you. I have used groupOfuniqueMembers and uniqueMember in my AD
On Tue, Aug 4, 2015 at 1:03 PM, Fabio Martelli <[email protected]> wrote: > Il 03/08/2015 11:50, Ajith Perur ha scritto: > > This is my security.xml file authentication provider: > > <security:ldap-authentication-provider > user-search-filter="(cn={0})" > user-search-base="ou=users" > group-search-filter="(uniqueMember={0})" > group-search-base="ou=groups" > group-role-attribute="cn" > role-prefix=""> > </security:ldap-authentication-provider> > > I can see that authentication is happening but the roles are not being > fetched in my program and also I am able to display the username defined in > active directory which I specified. > > Kinly provide help regaring this aspect. > > > > > Regards, > Ajith.P > > > Hi Ajith, are you trying to connect to AD with your security provider? > In this case the group-search-filter should be set to "member={0}". > > In any case, be sure of the existence of attributes referred into your > configuration. > > Best regards, > F. > > -- > Fabio Martelli > > Tirasa - Open Source Excellencehttp://www.tirasa.net/ > > Apache Syncope PMChttp://people.apache.org/~fmartelli/ > >
