Created
March 25, 2014 03:15
-
-
Save TylerBrock/9754612 to your computer and use it in GitHub Desktop.
LDAP Cheat Sheet
This file contains 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
# Bind as Manager and add a user as spcified in the ldif file test | |
ldapadd -x -W -D cn=Manager,dc=blah,dc=xxx -a -f test | |
# Bind as "Driver Team" and search for everything in dc=blah,dc=xxx | |
ldapsearch -x -D cn="Driver Team",ou=Users,dc=blah,dc=xxx -W -b dc=blah,dc=xxx | |
# Set the password for "Drivers-Team" | |
ldappasswd -x -D cn="Drivers-Team",ou=Users,dc=blah,dc=xxx -W -S |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment