1 .TH LDAPPASSWD 1 "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2006 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 ]
65 is a tool to set the password of an LDAP user.
67 uses the LDAPv3 Password Modify (RFC 3062) extended operation.
70 sets the password of associated with the user [or an optionally
74 password is not specified on the command line and the user
75 doesn't enable prompting, the server will be asked to generate
76 a password for the user.
79 is neither designed nor intended to be a replacement for
81 and should not be installed as such.
85 Prompt for old password.
86 This is used instead of specifying the password on the command line.
89 Set the old password to \fIoldPasswd\fP.
91 .BI \-t \ oldPasswdFile
92 Set the old password to the contents of \fIoldPasswdFile\fP.
95 Use simple authentication instead of SASL.
98 Use the Distinguished Name \fIbinddn\fP to bind to the LDAP directory.
101 Set the LDAP debugging level to \fIdebuglevel\fP.
103 must be compiled with LDAP_DEBUG defined for this option to have any effect.
106 Specify URI(s) referring to the ldap server(s); only the protocol/host/port
107 fields are allowed; a list of URI, separated by whitespace or commas
111 Specify an alternate host on which the ldap server is running.
112 Deprecated in favor of -H.
115 Specify an alternate TCP port where the ldap server is listening.
116 Deprecated in favor of -H.
119 Do not set password. (Can be useful when used in conjunction with
124 Prompt for new password.
125 This is used instead of specifying the password on the command line.
128 Set the new password to \fInewPasswd\fP.
130 .BI \-T \ newPasswdFile
131 Set the new password to the contents of \fInewPasswdFile\fP.
134 Increase the verbosity of output. Can be specified multiple times.
137 Prompt for bind password.
138 This is used instead of specifying the password on the command line.
141 Use \fIpasswd\fP as the password to bind with.
144 Use complete contents of \fIpasswdfile\fP as the password for
145 simple authentication.
147 .BI \-O \ security-properties
148 Specify SASL security properties.
151 Enable SASL Interactive mode. Always prompt. Default is to prompt
155 Enable SASL Quiet mode. Never prompt.
158 Specify the authentication ID for SASL bind. The form of the ID
159 depends on the actual SASL mechanism used.
162 Specify the realm of authentication ID for SASL bind. The form of the realm
163 depends on the actual SASL mechanism used.
166 Specify the requested authorization ID for SASL bind.
168 must be one of the following formats:
169 .BI dn: <distinguished name>
171 .BI u: <username>\fP.
174 Specify the SASL mechanism to be used for authentication. If it's not
175 specified, the program will choose the best mechanism the server knows.
178 Issue StartTLS (Transport Layer Security) extended operation. If you use
180 the command will require the operation to be successful
182 .BR ldap_sasl_bind (3),
183 .BR ldap_extended_operation (3),
184 .BR ldap_start_tls_s (3)
186 The OpenLDAP Project <http://www.openldap.org/>