How to find all the groups the user is a member? (LDAP)

后端 未结 1 882
面向向阳花
面向向阳花 2021-02-06 10:14

I am trying to get all the groups that a certain user is a member of.

I have the following structures in ldap:

o=myOrganization
     ou=unit1
           


        
相关标签:
1条回答
  • 2021-02-06 10:59

    member=cn=ann is not enough. You have to use ann's full DN, probably something like this:

    member=cn=ann,ou=users,dc=company,dc=com
    
    0 讨论(0)
提交回复
热议问题