I have the following query which works fine in my console to get all users of a specific group:
ldapsearch -H ldaps://mygreatcompany.com -x -D "user@mygreatc