1 .TH LDAPPASSWD 1 "12 July 2000" "LDAPPasswd"
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]
20 .BI \-h \ ldaphost\fR]
24 .BI \-p \ ldapport\fR]
28 .BI \-s \ newPasswd\fR]
36 .BR \-O \ security-properties ]
42 .BI \-U \ username\fR]
53 is a tool to set the password of an LDAP user.
56 sets the password of associated with the user. If the new
57 password is not specified on the command line or the user
58 doesn't enable prompting, the server will be asked to generate
59 a password for the user.
62 is neither designed nor intended to be a replacement for
64 and should not be installed as such.
68 Prompt for old password.
69 This is used instead of specifying the password on the command line.
72 Set the old password to \fIoldPasswd\fP.
75 Automatically chase referrals.
78 Use simple authentication instead of SASL.
81 Use \fIbinddn\fP to bind to the LDAP directory. \fIbinddn\fP should
82 be a string-represented DN as defined in RFC 2253.
83 This flag is not optional. The user DN will be used if the
84 bind DN is not provided.
87 Set the LDAP debugging level to \fIdebuglevel\fP.
89 must be compiled with LDAP_DEBUG defined for this option to have any effect.
92 Specify an alternate host on which the ldap server is running.
95 Do not set password. (Can be useful when used in conjunction with
100 Prompt for new password.
101 This is used instead of specifying the password on the command line.
104 Set the new password to \fInewPasswd\fP.
107 Specify an alternate port on which the ldap server is running.
110 Increase the verbosity of output. Can be specified multiple times.
113 Prompt for bind password.
114 This is used instead of specifying the password on the command line.
117 Use \fIpasswd\fP as the password to bind with.
119 .BI \-O \ security-properties
120 Specify SASL security properties.
123 Enable SASL Interactive mode. Always prompt. Default is to prompt
127 Enable SASL Quiet mode. Never prompt.
130 Specify the username for SASL bind. The syntax of the username depends on the
131 actual SASL mechanism used.
134 Specify the requested authorization ID for SASL bind.
136 must be one of the following formats:
137 .BI dn: <distinguished name>
139 .BI u: <username>\fP.
142 Specify the SASL mechanism to be used for authentication. If it's not
143 specified, the program will choose the best mechanism the server knows.
146 Issue StartTLS (Transport Layer Security) extended operation. If you use
148 the command will require the operation to be successful
152 The OpenLDAP Project <http://www.openldap.org/>
155 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
157 is derived from University of Michigan LDAP 3.3 Release.