1 .TH LDAPPASSWD 1 "20 August 2000" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2000 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]
18 .BI \-d \ debuglevel\fR]
22 .BI \-h \ ldaphost\fR]
26 .BI \-p \ ldapport\fR]
30 .BI \-s \ newPasswd\fR]
38 .BR \-O \ security-properties ]
44 .BI \-U \ username\fR]
57 is a tool to set the password of an LDAP user.
60 sets the password of associated with the user [or an optionally
64 password is not specified on the command line and the user
65 doesn't enable prompting, the server will be asked to generate
66 a password for the user.
69 is neither designed nor intended to be a replacement for
71 and should not be installed as such.
75 Prompt for old password.
76 This is used instead of specifying the password on the command line.
79 Set the old password to \fIoldPasswd\fP.
82 Automatically chase referrals.
85 Use simple authentication instead of SASL.
88 Use the Distinguished Name \fIbinddn\fP to bind to the LDAP directory.
89 This flag is not optional. The user DN will be used if the
90 bind DN is not provided.
93 Set the LDAP debugging level to \fIdebuglevel\fP.
95 must be compiled with LDAP_DEBUG defined for this option to have any effect.
98 Specify URI(s) referring to the ldap server(s).
101 Specify an alternate host on which the ldap server is running.
102 Deprecated in favor of -H.
105 Specify an alternate TCP port where the ldap server is listening.
106 Deprecated in favor of -H.
109 Do not set password. (Can be useful when used in conjunction with
114 Prompt for new password.
115 This is used instead of specifying the password on the command line.
118 Set the new password to \fInewPasswd\fP.
121 Increase the verbosity of output. Can be specified multiple times.
124 Prompt for bind password.
125 This is used instead of specifying the password on the command line.
128 Use \fIpasswd\fP as the password to bind with.
130 .BI \-O \ security-properties
131 Specify SASL security properties.
134 Enable SASL Interactive mode. Always prompt. Default is to prompt
138 Enable SASL Quiet mode. Never prompt.
141 Specify the username for SASL bind. The syntax of the username depends on the
142 actual SASL mechanism used.
145 Specify the requested authorization ID for SASL bind.
147 must be one of the following formats:
148 .BI dn: <distinguished name>
150 .BI u: <username>\fP.
153 Specify the SASL mechanism to be used for authentication. If it's not
154 specified, the program will choose the best mechanism the server knows.
157 Issue StartTLS (Transport Layer Security) extended operation. If you use
159 the command will require the operation to be successful
161 .BR ldap_sasl_bind (3)
162 .BR ldap_extended_operation (3)
163 .BR ldap_start_tls (3)
165 The OpenLDAP Project <http://www.openldap.org/>
168 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
170 is derived from University of Michigan LDAP 3.3 Release.