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