Freeipa 4.9.10
Rocky 8.7
LdapSearch 2.4.46
I am trying to get the list of user's uid that belongs to specific group. Then ultimately get the email address of those users.
ldapsearch -x -H ldap://10.0.0.33 -W -D "cn=Directory Manager" '(memberOf=cn=admins,cn=groups,cn=accounts,dc=example,dc=com)'
# extended LDIF
#
# LDAPv3
# base <dc=example,dc=com> (default) with scope subtree
# filter: (memberOf=cn=admins,cn=groups,cn=accounts,dc=example,dc=com)
# requesting: ALL
#
# search result
search: 2
result: 0 Success```