SLAPPASSWD(8C) SLAPPASSWD(8C) (NAME) slappasswd - OpenLDAP (SYNOPSIS) /usr/bin/slappasswd [-v] [-u] [-g|-s secret|-T file] [-h hash] [-c salt-format] [-n] [-o option[=value]] (DESCRIPTION) slappasswd userPassword ldapmodify(1) rootpw slapd.conf(5) olcRootPW slapd-config(5) . (OPTIONS) -v (verbose). -u userPassword RFC 2307 ( ). . (forward compatibility) . -s secret . -g -T . -s -g -T . -g . -s -T . -s -g -T . {CLEARTEXT} . -g -h . -T "file" . -g -s . -s -g -T . -h "scheme" -h RFC 2307 : {CRYPT} {MD5} {SMD5} {SSHA} {SHA}. {SSHA} . { } (shell) . {SHA} {SSHA} SHA-1 ( FIPS 160-1) (seed) . {MD5} {SMD5} MD5 ( RFC 1321) . {CRYPT} crypt(3) . {CLEARTEXT} (clear text) userPassword . {CLEARTEXT} -g . -c crypt-salt-format (salt) crypt(3) {CRYPT} . sprintf(3) ( ) %s . [A-Za-z0-9./] . '%.2s' '$1$%.8s' crypt(3) MD5 . '%s' . -n (pipe) . -o option[=value] option value () . / : module-path= (see `modulepath' in slapd.conf(5)) module-load=" [...]" (see `moduleload' in slapd.conf(5)) . (LIMITATIONS) userPassword Standard Track ( RFC 4519) . authPassword (RFC 3112) slapd(8) . crypt(3) . (SECURITY CONSIDERATIONS) . bind LDAP TLS . . (SEE ALSO) ldappasswd(1) ldapmodify(1) slapd(8) slapd.conf(5) slapd-config(5) RFC 2307 RFC 4519 RFC 3112 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin) (ACKNOWLEDGEMENTS) OpenLDAP Software The OpenLDAP Project . OpenLDAP Software LDAP 3.3 . OpenLDAP 2.6.13 2026/03/09 SLAPPASSWD(8C)