Try adding "member" to --- cas.authn.ldap[0].principalAtt ributeList=sn,title,mail,telephoneNumber,mobile,manager
On Thu, Nov 23, 2017 at 1:31 PM, Sanjaya Addula < [email protected]> wrote: > Hi Team, > > How can I configure cas to get the LDAP user groups details as a principal > attribute? > > cas.authn.ldap[0].type=DIRECT > cas.authn.ldap[0].ldapUrl=ldapurl > cas.authn.ldap[0].useSsl=false > cas.authn.ldap[0].useStartTls=false > cas.authn.ldap[0].connectTimeout=5000 > #cas.authn.ldap[0].baseDn=ou=groups,dc=ec2,dc=internal > cas.authn.ldap[0].baseDn=ou=Users,dc=ec2,dc=internal > #cas.authn.ldap[0].userFilter=uid=%s,ou=Users,dc=ec2,dc=internal > cas.authn.ldap[0].userFilter=(&(uid={user})(objectclass=inetOrgPerson)) > cas.authn.ldap[0].subtreeSearch=true > cas.authn.ldap[0].usePasswordPolicy=false > cas.authn.ldap[0].bindDn=uid=user2,ou=Users,dc=ec2,dc=internal > cas.authn.ldap[0].bindCredential=xyz > > cas.authn.ldap[0].dnFormat=uid=%s,ou=Users,dc=ec2,dc=internal > cas.authn.ldap[0].principalAttributeId=uid > cas.authn.ldap[0].principalAttributeList=sn,title,mail, > telephoneNumber,mobile,manager > > > > <https://lh3.googleusercontent.com/-M2fy3ha2MbU/WhalKzbPNjI/AAAAAAAAABA/ykPJhvWwDkIavs4GDmFvMQ9xs6GjSzA7ACLcBGAs/s1600/ldap.png> > > -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/a/ > apereo.org/d/msgid/cas-user/CAKmQp2hORFndxEAkZM_gzoTi% > 2BPowKSeYw_uk6TpnxYjSXt4NoQ%40mail.gmail.com > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAKmQp2hORFndxEAkZM_gzoTi%2BPowKSeYw_uk6TpnxYjSXt4NoQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2BTBYOQ0cXRh26Z%3DtEsm6rXa0C6x_kp__Cp_VvFAs6cNwK5E1A%40mail.gmail.com.
