]> git.sur5r.net Git - openldap/blob - doc/man/man8/slappasswd.8
Misc updates
[openldap] / doc / man / man8 / slappasswd.8
1 .TH SLAPPASSWD 8C "20 August 2000" "OpenLDAP LDVERSION"
2 .\" $OpenLDAP$
3 .\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
5 .SH NAME
6 slappasswd \- OpenLDAP password utility
7 .SH SYNOPSIS
8 .B SBINDIR/slappasswd
9 .B [\-v]
10 .B [\-u]
11 .B [\-s secret]
12 .B [\-h hash]
13 .B 
14 .LP
15 .SH DESCRIPTION
16 .LP
17 .B Slappasswd
18 is used to generate an userPassword value
19 suitable for use with
20 .BR ldapmodify (1)
21 or
22 .BR slapd.conf (5)
23 .I rootpw
24 coniguration directive.
25 .SH OPTIONS
26 .TP
27 .B \-v
28 enable verbose mode.
29 .B \-u
30 generate RFC2307 userPassword values (the default).  Future
31 versions of this program may generate alternative syntaxes
32 by default.  This option is provided for forward compatibility.
33 .TP
34 .BI \-s " secret"
35 The secret to hash.  If not provided, the user will be prompted
36 for the secret to hash.
37 .TP
38 If -h is specified, one of the following RFC2307 schemes may
39 be specified:
40 .IR {CRYPT} ,
41 .IR {MD5} ,
42 .IR {SMD5} ,
43 .IR {SSHA} ", and"
44 .IR {SHA} .
45 The default is 
46 .IR {SSHA} .
47 .LP
48 .SH LIMITATIONS
49 The practice storing hashed passwords in userPassword violates
50 Standard Track (RFC2256) schema specifications and may hinder
51 interoperability.  A new attribute type to hold hashed
52 passwords is needed.
53 .SH "SECURITY CONSIDERATIONS"
54 Use of hashed passwords does not protect passwords during
55 protocol transfer.  TLS or other eavesdropping protections
56 should be inplace before using LDAP simple bind.  The
57 hashed password values should be protected as if they
58 were clear text passwords.
59 .SH "SEE ALSO"
60 .BR ldappasswd (1),
61 .BR ldapmodify (1),
62 .BR slapd (8)
63 .BR slapd.conf (5)
64 .LP
65 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
66 .SH ACKNOWLEDGEMENTS
67 OpenLDAP is developed and maintained by
68 The OpenLDAP Project (http://www.openldap.org/).
69 OpenLDAP is derived from University of Michigan LDAP 3.3 Release.