version 4, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
LDAPPASSWD |
|
|
2 |
!!!LDAPPASSWD |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
SEE ALSO |
|
|
8 |
AUTHOR |
|
|
9 |
ACKNOWLEDGEMENTS |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
ldappasswd - change the password of an LDAP entry |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__ldappasswd__ [[__-A__] [[__-a__ ''oldPasswd''] |
|
|
19 |
[[__-D__ ''binddn''] [[__-d__ ''debuglevel''] |
|
|
20 |
[[__-H__ ''ldapuri''] [[__-h__ ''ldaphost''] |
|
|
21 |
[[__-n__] [[__-p__ ''ldapport''] [[__-S__] |
|
|
22 |
[[__-s__ ''newPasswd''] [[__-v__] [[__-W__] |
|
|
23 |
[[__-w__ ''passwd''] [[__-O__ |
|
|
24 |
security-properties__]__ [[__-I__] [[__-Q__] |
|
|
25 |
[[__-U__ ''authcid''] [[__-x__] [[__-X__ |
|
|
26 |
''authzid''] [[__-Y__ ''mech''] [[__-Z[[Z]__] |
|
|
27 |
[[''user''] |
|
|
28 |
!!DESCRIPTION |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
__ldappasswd__ is a tool to set the password of an LDAP |
|
|
32 |
user. __ldappasswd__ uses the LDAPv3 Password Modify (RFC |
|
|
33 |
3062) extended operation. |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
__ldappasswd__ sets the password of associated with the |
|
|
37 |
user [[or an optionally specified ''user'']. If the new |
|
|
38 |
password is not specified on the command line and the user |
|
|
39 |
doesn't enable prompting, the server will be asked to |
|
|
40 |
generate a password for the user. |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
__ldappasswd__ is neither designed nor intended to be a |
|
|
44 |
replacement for passwd(1) and should not be installed |
|
|
45 |
as such. |
|
|
46 |
!!OPTIONS |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
__-A__ |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
Prompt for old password. This is used instead of specifying |
|
|
53 |
the password on the command line. |
|
|
54 |
|
|
|
55 |
|
|
|
56 |
__-a__ ''oldPasswd'' |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
Set the old password to ''oldPasswd''. |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
__-x__ |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
Use simple authentication instead of SASL. |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
__-D__ ''binddn'' |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
Use the Distinguished Name ''binddn'' to bind to the LDAP |
|
|
72 |
directory. |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
__-d__ ''debuglevel'' |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
Set the LDAP debugging level to ''debuglevel''. |
|
|
79 |
__ldappasswd__ must be compiled with LDAP_DEBUG defined |
|
|
80 |
for this option to have any effect. |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
__-H__ ''ldapuri'' |
|
|
84 |
|
|
|
85 |
|
|
|
86 |
Specify URI(s) referring to the ldap server(s). |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
__-h__ ''ldaphost'' |
|
|
90 |
|
|
|
91 |
|
|
|
92 |
Specify an alternate host on which the ldap server is |
|
|
93 |
running. Deprecated in favor of -H. |
|
|
94 |
|
|
|
95 |
|
|
|
96 |
__-p__ ''ldapport'' |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
Specify an alternate TCP port where the ldap server is |
|
|
100 |
listening. Deprecated in favor of -H. |
|
|
101 |
|
|
|
102 |
|
|
|
103 |
__-n__ |
|
|
104 |
|
|
|
105 |
|
|
|
106 |
Do not set password. (Can be useful when used in conjunction |
|
|
107 |
with __-v__ or __-d__) |
|
|
108 |
|
|
|
109 |
|
|
|
110 |
__-S__ |
|
|
111 |
|
|
|
112 |
|
|
|
113 |
Prompt for new password. This is used instead of specifying |
|
|
114 |
the password on the command line. |
|
|
115 |
|
|
|
116 |
|
|
|
117 |
__-s__ ''newPasswd'' |
|
|
118 |
|
|
|
119 |
|
|
|
120 |
Set the new password to ''newPasswd''. |
|
|
121 |
|
|
|
122 |
|
|
|
123 |
__-v__ |
|
|
124 |
|
|
|
125 |
|
|
|
126 |
Increase the verbosity of output. Can be specified multiple |
|
|
127 |
times. |
|
|
128 |
|
|
|
129 |
|
|
|
130 |
__-W__ |
|
|
131 |
|
|
|
132 |
|
|
|
133 |
Prompt for bind password. This is used instead of specifying |
|
|
134 |
the password on the command line. |
|
|
135 |
|
|
|
136 |
|
|
|
137 |
__-w__ ''passwd'' |
|
|
138 |
|
|
|
139 |
|
|
|
140 |
Use ''passwd'' as the password to bind with. |
|
|
141 |
|
|
|
142 |
|
|
|
143 |
__-O__ ''security-properties'' |
|
|
144 |
|
|
|
145 |
|
|
|
146 |
Specify SASL security properties. |
|
|
147 |
|
|
|
148 |
|
|
|
149 |
__-I__ |
|
|
150 |
|
|
|
151 |
|
|
|
152 |
Enable SASL Interactive mode. Always prompt. Default is to |
|
|
153 |
prompt only as needed. |
|
|
154 |
|
|
|
155 |
|
|
|
156 |
__-Q__ |
|
|
157 |
|
|
|
158 |
|
|
|
159 |
Enable SASL Quiet mode. Never prompt. |
|
|
160 |
|
|
|
161 |
|
|
|
162 |
__-U__ ''authcid'' |
|
|
163 |
|
|
|
164 |
|
|
|
165 |
Specify the authentication ID for SASL bind. The form of the |
|
|
166 |
ID depends on the actual SASL mechanism used. |
|
|
167 |
|
|
|
168 |
|
|
|
169 |
__-X__ ''authzid'' |
|
|
170 |
|
|
|
171 |
|
|
|
172 |
Specify the requested authorization ID for SASL bind. |
|
|
173 |
''authzid'' must be one of the following formats: |
|
|
174 |
__dn:__''''__name__ or |
|
|
175 |
__u:__''''__.__ |
|
|
176 |
|
|
|
177 |
|
|
|
178 |
__-Y__ ''mech'' |
|
|
179 |
|
|
|
180 |
|
|
|
181 |
Specify the SASL mechanism to be used for authentication. If |
|
|
182 |
it's not specified, the program will choose the best |
|
|
183 |
mechanism the server knows. |
|
|
184 |
|
|
|
185 |
|
|
|
186 |
__-Z[[Z]__ |
|
|
187 |
|
|
|
188 |
|
|
|
189 |
Issue StartTLS (Transport Layer Security) extended |
|
|
190 |
operation. If you use __-ZZ__, the command will require |
|
|
191 |
the operation to be successful |
|
|
192 |
!!SEE ALSO |
|
|
193 |
|
|
|
194 |
|
4 |
perry |
195 |
ldap_sasl_bind(3) __ldap_extended_operation__(3) |
|
|
196 |
ldap_start_tls_s(3) |
1 |
perry |
197 |
!!AUTHOR |
|
|
198 |
|
|
|
199 |
|
|
|
200 |
The OpenLDAP Project |
|
|
201 |
!!ACKNOWLEDGEMENTS |
|
|
202 |
|
|
|
203 |
|
|
|
204 |
__OpenLDAP__ is developed and maintained by The OpenLDAP |
|
|
205 |
Project (http://www.openldap.org/). __OpenLDAP__ is |
|
|
206 |
derived from University of Michigan LDAP 3.3 |
|
|
207 |
Release. |
|
|
208 |
---- |