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]
55 is a tool to set the password of an LDAP user.
58 sets the password of associated with the user. If the new
59 password is not specified on the command line or the user
60 doesn't enable prompting, the server will be asked to generate
61 a password for the user.
64 is neither designed nor intended to be a replacement for
66 and should not be installed as such.
70 Prompt for old password.
71 This is used instead of specifying the password on the command line.
74 Set the old password to \fIoldPasswd\fP.
77 Automatically chase referrals.
80 Use simple authentication instead of SASL.
83 Use the Distinguished Name \fIbinddn\fP to bind to the LDAP directory.
84 This flag is not optional. The user DN will be used if the
85 bind DN is not provided.
88 Set the LDAP debugging level to \fIdebuglevel\fP.
90 must be compiled with LDAP_DEBUG defined for this option to have any effect.
93 Specify URI(s) referring to the ldap server(s).
96 Specify an alternate host on which the ldap server is running.
97 Deprecated in favor of -H.
100 Specify an alternate TCP port where the ldap server is listening.
101 Deprecated in favor of -H.
104 Do not set password. (Can be useful when used in conjunction with
109 Prompt for new password.
110 This is used instead of specifying the password on the command line.
113 Set the new password to \fInewPasswd\fP.
116 Increase the verbosity of output. Can be specified multiple times.
119 Prompt for bind password.
120 This is used instead of specifying the password on the command line.
123 Use \fIpasswd\fP as the password to bind with.
125 .BI \-O \ security-properties
126 Specify SASL security properties.
129 Enable SASL Interactive mode. Always prompt. Default is to prompt
133 Enable SASL Quiet mode. Never prompt.
136 Specify the username for SASL bind. The syntax of the username depends on the
137 actual SASL mechanism used.
140 Specify the requested authorization ID for SASL bind.
142 must be one of the following formats:
143 .BI dn: <distinguished name>
145 .BI u: <username>\fP.
148 Specify the SASL mechanism to be used for authentication. If it's not
149 specified, the program will choose the best mechanism the server knows.
152 Issue StartTLS (Transport Layer Security) extended operation. If you use
154 the command will require the operation to be successful
156 .BR ldap_sasl_bind (3)
157 .BR ldap_extended_operation (3)
158 .BR ldap_start_tls (3)
160 The OpenLDAP Project <http://www.openldap.org/>
163 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
165 is derived from University of Michigan LDAP 3.3 Release.