1 .TH LDAPPASSWD 1 "2008/07/16" "OpenLDAP 2.4.11"
2 .\" $OpenLDAP: pkg/ldap/doc/man/man1/ldappasswd.1,v 1.39.2.5 2008/02/11 23:26:39 kurt Exp $
3 .\" Copyright 1998-2008 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 ldappasswd \- change the password of an LDAP entry
12 .BI \-a \ oldPasswd\fR]
14 .BI \-t \ oldpasswdfile\fR]
18 .BI \-d \ debuglevel\fR]
22 .BI \-h \ ldaphost\fR]
26 .BI \-p \ ldapport\fR]
30 .BI \-s \ newPasswd\fR]
32 .BI \-T \ newpasswdfile\fR]
40 .BI \-y \ passwdfile\fR]
42 .BR \-O \ security-properties ]
63 is a tool to set the password of an LDAP user.
65 uses the LDAPv3 Password Modify (RFC 3062) extended operation.
68 sets the password of associated with the user [or an optionally
72 password is not specified on the command line and the user
73 doesn't enable prompting, the server will be asked to generate
74 a password for the user.
77 is neither designed nor intended to be a replacement for
79 and should not be installed as such.
83 Prompt for old password.
84 This is used instead of specifying the password on the command line.
87 Set the old password to \fIoldPasswd\fP.
89 .BI \-t \ oldPasswdFile
90 Set the old password to the contents of \fIoldPasswdFile\fP.
93 Use simple authentication instead of SASL.
96 Use the Distinguished Name \fIbinddn\fP to bind to the LDAP directory.
99 Set the LDAP debugging level to \fIdebuglevel\fP.
101 must be compiled with LDAP_DEBUG defined for this option to have any effect.
104 Specify URI(s) referring to the ldap server(s); only the protocol/host/port
105 fields are allowed; a list of URI, separated by whitespace or commas
109 Specify an alternate host on which the ldap server is running.
110 Deprecated in favor of -H.
113 Specify an alternate TCP port where the ldap server is listening.
114 Deprecated in favor of -H.
117 Do not set password. (Can be useful when used in conjunction with
122 Prompt for new password.
123 This is used instead of specifying the password on the command line.
126 Set the new password to \fInewPasswd\fP.
128 .BI \-T \ newPasswdFile
129 Set the new password to the contents of \fInewPasswdFile\fP.
132 Increase the verbosity of output. Can be specified multiple times.
135 Prompt for bind password.
136 This is used instead of specifying the password on the command line.
139 Use \fIpasswd\fP as the password to bind with.
142 Use complete contents of \fIpasswdfile\fP as the password for
143 simple authentication.
145 .BI \-O \ security-properties
146 Specify SASL security properties.
149 Enable SASL Interactive mode. Always prompt. Default is to prompt
153 Enable SASL Quiet mode. Never prompt.
156 Specify the authentication ID for SASL bind. The form of the ID
157 depends on the actual SASL mechanism used.
160 Specify the realm of authentication ID for SASL bind. The form of the realm
161 depends on the actual SASL mechanism used.
164 Specify the requested authorization ID for SASL bind.
166 must be one of the following formats:
167 .BI dn: <distinguished name>
169 .BI u: <username>\fP.
172 Specify the SASL mechanism to be used for authentication. If it's not
173 specified, the program will choose the best mechanism the server knows.
176 Issue StartTLS (Transport Layer Security) extended operation. If you use
178 the command will require the operation to be successful
180 .BR ldap_sasl_bind (3),
181 .BR ldap_extended_operation (3),
182 .BR ldap_start_tls_s (3)
184 The OpenLDAP Project <http://www.openldap.org/>
186 .\" Shared Project Acknowledgement Text
187 .B "OpenLDAP Software"
188 is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>.
189 .B "OpenLDAP Software"
190 is derived from University of Michigan LDAP 3.3 Release.