openldap/doc/man/man8/slappasswd.8

72 lines
1.7 KiB
Groff
Raw Normal View History

2000-08-14 06:06:01 +08:00
.TH SLAPPASSWD 8C "13 August 2000" "OpenLDAP LDVERSION"
2000-06-16 14:43:55 +08:00
.\" $OpenLDAP$
.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
.SH NAME
2000-07-23 02:32:33 +08:00
slappasswd \- OpenLDAP password utility
2000-06-16 14:43:55 +08:00
.SH SYNOPSIS
.B SBINDIR/slappasswd
2000-07-23 02:32:33 +08:00
.B [\-a]
2000-06-16 14:43:55 +08:00
.B [\-v]
.B [\-s secret]
.B [\-h hash]
.B
.LP
.SH DESCRIPTION
.LP
.B Slappasswd
is used to compute a hashed password suitable for use
as a userPassword value
.BR slapd.conf (5)
.BR rootpw .
.SH OPTIONS
.TP
2000-07-23 02:32:33 +08:00
.B \-a
generate authPassword values instead of RFC2307 passwords
.TP
2000-06-16 14:43:55 +08:00
.B \-v
enable verbose mode.
.TP
.BI \-s " secret"
The secret to hash. If not provided, the user will be prompted
for the secret to hash.
.TP
2000-07-23 02:32:33 +08:00
.BI \-h " scheme"
The hash scheme to use. RFC2307 schemes supported include
2000-06-16 14:43:55 +08:00
.IR {CRYPT} ,
.IR {MD5} ,
.IR {SMD5} ,
.IR {SSHA} ", and"
.IR {SHA} .
The default is
.IR {SSHA} .
2000-07-23 02:32:33 +08:00
.LP
If \-a is specified, the following authPassword schemes
may be specified:
.IR MD5 ,
.IR SHA1 ", and"
.IR X-CRYPT .
The default is
.IR SHA1 .
2000-06-16 14:43:55 +08:00
.SH LIMITATIONS
The practice storing hashed passwords in userPassword
violates Standard Track schema and may hinder
2000-07-23 02:32:33 +08:00
interoperability. authPassword is not yet widely supported.
2000-06-16 14:43:55 +08:00
.SH "SECURITY CONSIDERATIONS"
Use of hashed passwords does not protect passwords during
protocol transfer. TLS or other eavesdropping protections
should be inplace before using LDAP simple bind. The
hashed password values should be protected as if they
were clear text passwords.
.SH "SEE ALSO"
2000-07-23 02:32:33 +08:00
.BR ldappasswd (1),
.BR ldapmodify (1),
2000-06-16 14:43:55 +08:00
.BR slapd (8)
2000-08-14 06:06:01 +08:00
.LP
"OpenLDAP Administrator's Guide"
2000-06-16 14:43:55 +08:00
.SH ACKNOWLEDGEMENTS
.B OpenLDAP
is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
.B OpenLDAP
is derived from University of Michigan LDAP 3.3 Release.