1 .TH LDAPPASSWD 1 "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2013 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 ldappasswd \- change the password of an LDAP entry
12 .BI \-d \ debuglevel\fR]
20 .BI \-a \ oldPasswd\fR]
22 .BI \-t \ oldpasswdfile\fR]
26 .BI \-s \ newPasswd\fR]
28 .BI \-T \ newpasswdfile\fR]
38 .BI \-y \ passwdfile\fR]
42 .BI \-h \ ldaphost\fR]
44 .BI \-p \ ldapport\fR]
46 .BR \-e \ [ ! ] \fIext\fP [ =\fIextparam\fP ]]
48 .BR \-E \ [ ! ] \fIext\fP [ =\fIextparam\fP ]]
50 .BI \-o \ opt \fR[= optparam \fR]]
52 .BI \-O \ security-properties\fR]
73 is a tool to set the password of an LDAP user.
75 uses the LDAPv3 Password Modify (RFC 3062) extended operation.
78 sets the password of associated with the user [or an optionally
82 password is not specified on the command line and the user
83 doesn't enable prompting, the server will be asked to generate
84 a password for the user.
87 is neither designed nor intended to be a replacement for
89 and should not be installed as such.
94 If \fB\-VV\fP is given, only the version information is printed.
97 Set the LDAP debugging level to \fIdebuglevel\fP.
99 must be compiled with LDAP_DEBUG defined for this option to have any effect.
102 Do not set password. (Can be useful when used in conjunction with
103 \fB\-v\fP or \fB\-d\fP)
106 Increase the verbosity of output. Can be specified multiple times.
109 Prompt for old password.
110 This is used instead of specifying the password on the command line.
113 Set the old password to \fIoldPasswd\fP.
115 .BI \-t \ oldPasswdFile
116 Set the old password to the contents of \fIoldPasswdFile\fP.
119 Prompt for new password.
120 This is used instead of specifying the password on the command line.
123 Set the new password to \fInewPasswd\fP.
125 .BI \-T \ newPasswdFile
126 Set the new password to the contents of \fInewPasswdFile\fP.
129 Use simple authentication instead of SASL.
132 Use the Distinguished Name \fIbinddn\fP to bind to the LDAP directory.
133 For SASL binds, the server is expected to ignore this value.
136 Prompt for bind password.
137 This is used instead of specifying the password on the command line.
140 Use \fIpasswd\fP as the password to bind with.
143 Use complete contents of \fIpasswdfile\fP as the password for
144 simple authentication.
147 Specify URI(s) referring to the ldap server(s); only the protocol/host/port
148 fields are allowed; a list of URI, separated by whitespace or commas
152 Specify an alternate host on which the ldap server is running.
153 Deprecated in favor of \fB\-H\fP.
156 Specify an alternate TCP port where the ldap server is listening.
157 Deprecated in favor of \fB\-H\fP.
159 .BR \-e \ [ ! ] \fIext\fP [ =\fIextparam\fP ]
161 .BR \-E \ [ ! ] \fIext\fP [ =\fIextparam\fP ]
163 Specify general extensions with \fB\-e\fP and passwd modify extensions with \fB\-E\fP.
164 \'\fB!\fP\' indicates criticality.
168 [!]assert=<filter> (an RFC 4515 Filter)
169 !authzid=<authzid> ("dn:<dn>" or "u:<user>")
170 [!]bauthzid (RFC 3829 authzid control)
171 [!]chaining[=<resolve>[/<cont>]]
175 [!]postread[=<attrs>] (a comma-separated attribute list)
176 [!]preread[=<attrs>] (a comma-separated attribute list)
178 sessiontracking[=<username>]
179 abandon,cancel,ignore (SIGINT sends abandon/cancel,
180 or ignores response; if critical, doesn't wait for SIGINT.
184 Passwd Modify extensions:
189 .BI \-o \ opt \fR[= optparam \fR]]
191 Specify general options.
195 nettimeout=<timeout> (in seconds, or "none" or "max")
196 ldif-wrap=<width> (in columns, or "no" for no wrapping)
199 .BI \-O \ security-properties
200 Specify SASL security properties.
203 Enable SASL Interactive mode. Always prompt. Default is to prompt
207 Enable SASL Quiet mode. Never prompt.
210 Do not use reverse DNS to canonicalize SASL host name.
213 Specify the authentication ID for SASL bind. The form of the ID
214 depends on the actual SASL mechanism used.
217 Specify the realm of authentication ID for SASL bind. The form of the realm
218 depends on the actual SASL mechanism used.
221 Specify the requested authorization ID for SASL bind.
223 must be one of the following formats:
224 .BI dn: "<distinguished name>"
226 .BI u: <username>\fP.
229 Specify the SASL mechanism to be used for authentication. If it's not
230 specified, the program will choose the best mechanism the server knows.
233 Issue StartTLS (Transport Layer Security) extended operation. If you use
234 \fB\-ZZ\fP, the command will require the operation to be successful
236 .BR ldap_sasl_bind (3),
237 .BR ldap_extended_operation (3),
238 .BR ldap_start_tls_s (3)
240 The OpenLDAP Project <http://www.openldap.org/>