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.
91 Set the LDAP debugging level to \fIdebuglevel\fP.
93 must be compiled with LDAP_DEBUG defined for this option to have any effect.
96 Specify URI(s) referring to the ldap server(s).
99 Specify an alternate host on which the ldap server is running.
100 Deprecated in favor of -H.
103 Specify an alternate TCP port where the ldap server is listening.
104 Deprecated in favor of -H.
107 Do not set password. (Can be useful when used in conjunction with
112 Prompt for new password.
113 This is used instead of specifying the password on the command line.
116 Set the new password to \fInewPasswd\fP.
119 Increase the verbosity of output. Can be specified multiple times.
122 Prompt for bind password.
123 This is used instead of specifying the password on the command line.
126 Use \fIpasswd\fP as the password to bind with.
128 .BI \-O \ security-properties
129 Specify SASL security properties.
132 Enable SASL Interactive mode. Always prompt. Default is to prompt
136 Enable SASL Quiet mode. Never prompt.
139 Specify the username for SASL bind. The syntax of the username depends on the
140 actual SASL mechanism used.
143 Specify the requested authorization ID for SASL bind.
145 must be one of the following formats:
146 .BI dn: <distinguished name>
148 .BI u: <username>\fP.
151 Specify the SASL mechanism to be used for authentication. If it's not
152 specified, the program will choose the best mechanism the server knows.
155 Issue StartTLS (Transport Layer Security) extended operation. If you use
157 the command will require the operation to be successful
159 .BR ldap_sasl_bind (3)
160 .BR ldap_extended_operation (3)
161 .BR ldap_start_tls (3)
163 The OpenLDAP Project <http://www.openldap.org/>
166 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
168 is derived from University of Michigan LDAP 3.3 Release.