in openldap I have two groups where a user is member of both.
I need to to able to query this user and find out all the groups the user is memer of
When i run this filter, it gives me the following results, however i can't seem to figure out how to get all groups a specific user is member of:
(&(objectClass=groupOfNames)(cn=testgroup))
# testgroup, groups, example.org
dn: cn=testgroup,ou=groups,dc=example,dc=org
objectClass: groupOfNames
objectClass: top
member: uid=awong,ou=people,dc=example,dc=org
member: uid=lkennedy,ou=people,dc=example,dc=org
cn: testgroup
Hi @Moses Feinstein ,
Your question doesn't seem to be related to Jira, it would be also helpful for you if you can reach out to the OpenLDAP forum as well. I got this answer from a different forum:
(&(group-name=*)(uid=awong))
I hope that this helps.
Thanks,
Moga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.