]> git.sur5r.net Git - openldap/blob - doc/man/man8/slappasswd.8
f33c5a2701905769ba7e3f7c9208851e53f24fe1
[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 [\-u]
10 .B [\-v]
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 authPassword (or 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 \-u
28 generate RFC2307 userPassword values instead of authPassword values.
29 .TP
30 .B \-v
31 enable verbose mode.
32 .TP
33 .BI \-s " secret"
34 The secret to hash.  If not provided, the user will be prompted
35 for the secret to hash.
36 .TP
37 .BI \-h " scheme"
38 The hash scheme to use.  One of the following authPassword schemes
39 may be specified:
40 .IR MD5 ,
41 .IR SHA1 ", and"
42 .IR X-CRYPT .
43 The default is
44 .IR SHA1 .
45 If -u is specified, one of the following RFC2307 schemes may
46 be specified:
47 .IR {CRYPT} ,
48 .IR {MD5} ,
49 .IR {SMD5} ,
50 .IR {SSHA} ", and"
51 .IR {SHA} .
52 The default is 
53 .IR {SSHA} .
54 .LP
55 .SH LIMITATIONS
56 The authPassword attribute type is not yet widely supported.
57 The practice storing hashed passwords in userPassword violates
58 Standard Track schema and may hinder interoperability.  
59 .SH "SECURITY CONSIDERATIONS"
60 Use of hashed passwords does not protect passwords during
61 protocol transfer.  TLS or other eavesdropping protections
62 should be inplace before using LDAP simple bind.  The
63 hashed password values should be protected as if they
64 were clear text passwords.
65 .SH "SEE ALSO"
66 .BR ldappasswd (1),
67 .BR ldapmodify (1),
68 .BR slapd (8)
69 .BR slapd.conf (5)
70 .LP
71 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
72 .SH ACKNOWLEDGEMENTS
73 OpenLDAP is developed and maintained by
74 The OpenLDAP Project (http://www.openldap.org/).
75 OpenLDAP is derived from University of Michigan LDAP 3.3 Release.