how to get groups of a user in ldap
问题 i am using openldap with phpldapadmin, and i'm trying to check what are the groups of a certain user. this is my scheme ... this is what i tried, but it didn't work docker-compose exec openldap ldapsearch -x -H "ldap://openldap" -D "cn=admin,dc=openldap" -w admin -b "cn=root,ou=django,dc=openldap" '(&(objectClass=*)(member=cn=superuser,ou=groups,dc=openldap))' PS: i'm new to ldap, this is the image i'm using 回答1: There are tons of literature on LDAP and queries, that explain how to search for