1 .TH LDAPPASSWD 1 "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2002 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]
16 .BI \-d \ debuglevel\fR]
20 .BI \-h \ ldaphost\fR]
24 .BI \-p \ ldapport\fR]
28 .BI \-s \ newPasswd\fR]
36 .BR \-O \ security-properties ]
59 is a tool to set the password of an LDAP user.
61 uses the LDAPv3 Password Modify (RFC 3062) extended operation.
64 sets the password of associated with the user [or an optionally
68 password is not specified on the command line and the user
69 doesn't enable prompting, the server will be asked to generate
70 a password for the user.
73 is neither designed nor intended to be a replacement for
75 and should not be installed as such.
79 Prompt for old password.
80 This is used instead of specifying the password on the command line.
83 Set the old password to \fIoldPasswd\fP.
86 Use simple authentication instead of SASL.
89 Use the Distinguished Name \fIbinddn\fP to bind to the LDAP directory.
92 Set the LDAP debugging level to \fIdebuglevel\fP.
94 must be compiled with LDAP_DEBUG defined for this option to have any effect.
97 Specify URI(s) referring to the ldap server(s).
100 Specify an alternate host on which the ldap server is running.
101 Deprecated in favor of -H.
104 Specify an alternate TCP port where the ldap server is listening.
105 Deprecated in favor of -H.
108 Do not set password. (Can be useful when used in conjunction with
113 Prompt for new password.
114 This is used instead of specifying the password on the command line.
117 Set the new password to \fInewPasswd\fP.
120 Increase the verbosity of output. Can be specified multiple times.
123 Prompt for bind password.
124 This is used instead of specifying the password on the command line.
127 Use \fIpasswd\fP as the password to bind with.
129 .BI \-O \ security-properties
130 Specify SASL security properties.
133 Enable SASL Interactive mode. Always prompt. Default is to prompt
137 Enable SASL Quiet mode. Never prompt.
140 Specify the authentication ID for SASL bind. The form of the ID
141 depends on the actual SASL mechanism used.
144 Specify the realm of authentication ID for SASL bind. The form of the realm
145 depends on the actual SASL mechanism used.
148 Specify the requested authorization ID for SASL bind.
150 must be one of the following formats:
151 .BI dn: <distinguished name>
153 .BI u: <username>\fP.
156 Specify the SASL mechanism to be used for authentication. If it's not
157 specified, the program will choose the best mechanism the server knows.
160 Issue StartTLS (Transport Layer Security) extended operation. If you use
162 the command will require the operation to be successful
164 .BR ldap_sasl_bind (3),
165 .BR ldap_extended_operation (3),
166 .BR ldap_start_tls_s (3)
168 The OpenLDAP Project <http://www.openldap.org/>
171 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
173 is derived from University of Michigan LDAP 3.3 Release.