Summary
Determining MCommunity groups that someone else is a member of, via a command-line LDAP search.
Environment
Description
ldapsearch -x -LLL -H ldap://ldap.umich.edu -b "ou=Groups,dc=umich,dc=edu" "(member=uid=uniqname,ou=People,dc=umich,dc=edu)" dn
Note: Substitute the person's uniqname for uniqname in the above command. That's the only thing you need to change.
Notes
The ldapsearch
command is provided by the package openldap-clients on RHEL/CentOS/Fedora. On other distributions it will be found in other packages, such as ldap-utils or openldap2-client.