Finding the MCommunity groups someone is a member of

Body

Summary

Determining MCommunity groups that someone else is a member of, via a command-line LDAP search.

Environment

  • MCommunity
  • LDAP
  • Linux

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.

Details

Details

Article ID: 2607
Created
Fri 5/29/20 2:07 PM
Modified
Thu 11/21/24 7:18 AM