OpenLDAP
Jump to navigation
Jump to search
(Force) Changing a Password[edit]
- ldappasswd -h babbage.cs.transy.edu -D "cn=ldapadmin,dc=cs,dc=transy,dc=edu" -S "uid=USERNAME,ou=users,dc=cs,dc=transy,dc=edu" -w 'passwordhere' -x
Finding the Highest UID[edit]
- ldapsearch -x -D "cn=ldapadmin,dc=cs,dc=transy,dc=edu" -w 'passwordhere' | awk '/uidNumber: / {print $2}' | tail -n 1