Skip to content

Instantly share code, notes, and snippets.

@geothird
Created March 18, 2014 17:07
Show Gist options
  • Save geothird/9624519 to your computer and use it in GitHub Desktop.
Save geothird/9624519 to your computer and use it in GitHub Desktop.
ldap cheat sheet
$ ldappasswd -x -D "cn=Manager,dc=example,dc=company" -W -S "uid=user1,ou=People,dc=example,dc=company"
# Change a existing users password
$ ldapsearch -x -b 'ou=people,dc=example,dc=com' '(objectclass=*)'
# Search for users in people ou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment