1 .TH SLAPPASSWD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" $OpenLDAP: pkg/ldap/doc/man/man8/slappasswd.8,v 1.21.2.5 2008/02/11 23:26:40 kurt Exp $
3 .\" Copyright 1998-2008 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slappasswd \- OpenLDAP password utility
11 .B [\-g|\-s secret|\-T file]
20 is used to generate an userPassword value
26 configuration directive.
33 Generate RFC 2307 userPassword values (the default). Future
34 versions of this program may generate alternative syntaxes
35 by default. This option is provided for forward compatibility.
43 are absent, the user will be prompted for the secret to hash.
48 and mutually exclusive flags.
56 are absent, the user will be prompted for the secret to hash.
61 and mutually exclusive flags.
68 are mutually exclusive flags.
71 Hash the contents of the file.
76 are absent, the user will be prompted for the secret to hash.
81 and mutually exclusive flags.
84 If -h is specified, one of the following RFC 2307 schemes may
94 Note that scheme names may need to be protected, due to
98 from expansion by the user's command interpreter.
103 use the SHA-1 algorithm (FIPS 160-1), the latter with a seed.
108 use the MD5 algorithm (RFC 1321), the latter with a seed.
115 indicates that the new password should be added to userPassword as
119 is used, this flag is incompatible with
122 .BI \-c " crypt-salt-format"
123 Specify the format of the salt passed to
125 when generating {CRYPT} passwords.
126 This string needs to be in
128 format and may include one (and only one) %s conversion.
129 This conversion will be substituted with a string random
130 characters from [A\-Za\-z0\-9./]. For example, '%.2s'
131 provides a two character salt and '$1$%.8s' tells some
132 versions of crypt(3) to use an MD5 algorithm and provides
133 8 random characters of salt. The default is '%s', which
134 provides 31 characters of salt.
137 Omit the trailing newline; useful to pipe the credentials
140 The practice of storing hashed passwords in userPassword violates
141 Standard Track (RFC 4519) schema specifications and may hinder
142 interoperability. A new attribute type, authPassword, to hold
143 hashed passwords has been defined (RFC 3112), but is not yet
147 It should also be noted that the behavior of
149 is platform specific.
150 .SH "SECURITY CONSIDERATIONS"
151 Use of hashed passwords does not protect passwords during
152 protocol transfer. TLS or other eavesdropping protections
153 should be in\-place before using LDAP simple bind.
155 The hashed password values should be protected as if they
156 were clear text passwords.
166 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)