-
-
Save oleksiialeksieiev/39ef56ebc6c9b9ac8fcd to your computer and use it in GitHub Desktop.
some common ldap commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldapsearch -h HOST -D user -w 'password' -b "dc=example,dc=com" cn=somename | |
ldapsearch -h ldaps://ldap-server.example.com -D cn=openstack-ldap,ou=Users,ou=corp,o=com -w password -b ou=Users,ou=corp,o=com "(&(groupMembership=cn=OpenStackUsers,ou=Groups,ou=Corp,o=com))" cn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment