1Net::LDAP::Constant(3)User Contributed Perl DocumentationNet::LDAP::Constant(3)
2
3
4
6 Net::LDAP::Constant - Constants for use with Net::LDAP
7
9 use Net::LDAP qw(LDAP_SUCCESS LDAP_PROTOCOL_ERROR);
10
12 Net::LDAP::Constant exports constant subroutines for the following LDAP
13 error codes.
14
15 Protocol Constants
16 LDAP_SUCCESS (0)
17 Operation completed without error
18
19 LDAP_OPERATIONS_ERROR (1)
20 Server encountered an internal error
21
22 LDAP_PROTOCOL_ERROR (2)
23 Unrecognized version number or incorrect PDU structure
24
25 LDAP_TIMELIMIT_EXCEEDED (3)
26 The time limit on a search operation has been exceeded
27
28 LDAP_SIZELIMIT_EXCEEDED (4)
29 The maximum number of search results to return has been exceeded.
30
31 LDAP_COMPARE_FALSE (5)
32 This code is returned when a compare request completes and the
33 attribute value given is not in the entry specified
34
35 LDAP_COMPARE_TRUE (6)
36 This code is returned when a compare request completes and the
37 attribute value given is in the entry specified
38
39 LDAP_AUTH_METHOD_NOT_SUPPORTED (7)
40 Unrecognized SASL mechanism name
41
42 LDAP_STRONG_AUTH_NOT_SUPPORTED (7)
43 Unrecognized SASL mechanism name
44
45 LDAP_STRONG_AUTH_REQUIRED (8)
46 The server requires authentication be performed with a SASL
47 mechanism
48
49 LDAP_PARTIAL_RESULTS (9)
50 Returned to version 2 clients when a referral is returned. The
51 response will contain a list of URL's for other servers.
52
53 LDAP_REFERRAL (10)
54 The server is referring the client to another server. The response
55 will contain a list of URL's
56
57 LDAP_ADMIN_LIMIT_EXCEEDED (11)
58 The server has exceed the maximum number of entries to search while
59 gathering a list of search result candidates
60
61 LDAP_UNAVAILABLE_CRITICAL_EXT (12)
62 A control or matching rule specified in the request is not
63 supported by the server
64
65 LDAP_CONFIDENTIALITY_REQUIRED (13)
66 This result code is returned when confidentiality is required to
67 perform a given operation
68
69 LDAP_SASL_BIND_IN_PROGRESS (14)
70 The server requires the client to send a new bind request, with the
71 same SASL mechanism, to continue the authentication process
72
73 LDAP_NO_SUCH_ATTRIBUTE (16)
74 The request referenced an attribute that does not exist
75
76 LDAP_UNDEFINED_TYPE (17)
77 The request contains an undefined attribute type
78
79 LDAP_INAPPROPRIATE_MATCHING (18)
80 An extensible matching rule in the given filter does not apply to
81 the specified attribute
82
83 LDAP_CONSTRAINT_VIOLATION (19)
84 The request contains a value which does not meet with certain
85 constraints. This result can be returned as a consequence of
86
87 · The request was to add or modify a user password, and the
88 password fails to meet the criteria the server is configured to
89 check. This could be that the password is too short, or a
90 recognizable word (e.g. it matches one of the attributes in the
91 users entry) or it matches a previous password used by the same
92 user.
93
94 · The request is a bind request to a user account that has been
95 locked
96
97 LDAP_TYPE_OR_VALUE_EXISTS (20)
98 The request attempted to add an attribute type or value that
99 already exists
100
101 LDAP_INVALID_SYNTAX (21)
102 Some part of the request contained an invalid syntax. It could be a
103 search with an invalid filter or a request to modify the schema and
104 the given schema has a bad syntax.
105
106 LDAP_NO_SUCH_OBJECT (32)
107 The server cannot find an object specified in the request
108
109 LDAP_ALIAS_PROBLEM (33)
110 Server encountered a problem while attempting to dereference an
111 alias
112
113 LDAP_INVALID_DN_SYNTAX (34)
114 The request contained an invalid DN
115
116 LDAP_IS_LEAF (35)
117 The specified entry is a leaf entry
118
119 LDAP_ALIAS_DEREF_PROBLEM (36)
120 Server encountered a problem while attempting to dereference an
121 alias
122
123 LDAP_INAPPROPRIATE_AUTH (48)
124 The server requires the client which had attempted to bind
125 anonymously or without supplying credentials to provide some form
126 of credentials
127
128 LDAP_INVALID_CREDENTIALS (49)
129 The wrong password was supplied or the SASL credentials could not
130 be processed
131
132 LDAP_INSUFFICIENT_ACCESS (50)
133 The client does not have sufficient access to perform the requested
134 operation
135
136 LDAP_BUSY (51)
137 The server is too busy to perform requested operation
138
139 LDAP_UNAVAILABLE (52)
140 The server in unavailable to perform the request, or the server is
141 shutting down
142
143 LDAP_UNWILLING_TO_PERFORM (53)
144 The server is unwilling to perform the requested operation
145
146 LDAP_LOOP_DETECT (54)
147 The server was unable to perform the request due to an internal
148 loop detected
149
150 LDAP_SORT_CONTROL_MISSING (60)
151 The search contained a "virtual list view" control, but not a
152 server-side sorting control, which is required when a "virtual list
153 view" is given.
154
155 LDAP_INDEX_RANGE_ERROR (61)
156 The search contained a control for a "virtual list view" and the
157 results exceeded the range specified by the requested offsets.
158
159 LDAP_NAMING_VIOLATION (64)
160 The request violates the structure of the DIT
161
162 LDAP_OBJECT_CLASS_VIOLATION (65)
163 The request specifies a change to an existing entry or the addition
164 of a new entry that does not comply with the servers schema
165
166 LDAP_NOT_ALLOWED_ON_NONLEAF (66)
167 The requested operation is not allowed on an entry that has child
168 entries
169
170 LDAP_NOT_ALLOWED_ON_RDN (67)
171 The requested operation ill affect the RDN of the entry
172
173 LDAP_ALREADY_EXISTS (68)
174 The client attempted to add an entry that already exists. This can
175 occur as a result of
176
177 · An add request was submitted with a DN that already exists
178
179 · A modify DN requested was submitted, where the requested new DN
180 already exists
181
182 · The request is adding an attribute to the schema and an
183 attribute with the given OID or name already exists
184
185 LDAP_NO_OBJECT_CLASS_MODS (69)
186 Request attempt to modify the object class of an entry that should
187 not be modified
188
189 LDAP_RESULTS_TOO_LARGE (70)
190 The results of the request are to large
191
192 LDAP_AFFECTS_MULTIPLE_DSAS (71)
193 The requested operation needs to be performed on multiple servers
194 where the requested operation is not permitted
195
196 LDAP_OTHER (80)
197 An unknown error has occurred
198
199 LDAP_SERVER_DOWN (81)
200 "Net::LDAP" cannot establish a connection or the connection has
201 been lost
202
203 LDAP_LOCAL_ERROR (82)
204 An error occurred in "Net::LDAP"
205
206 LDAP_ENCODING_ERROR (83)
207 "Net::LDAP" encountered an error while encoding the request packet
208 that would have been sent to the server
209
210 LDAP_DECODING_ERROR (84)
211 "Net::LDAP" encountered an error while decoding a response packet
212 from the server.
213
214 LDAP_TIMEOUT (85)
215 "Net::LDAP" timeout while waiting for a response from the server
216
217 LDAP_AUTH_UNKNOWN (86)
218 The method of authentication requested in a bind request is unknown
219 to the server
220
221 LDAP_FILTER_ERROR (87)
222 An error occurred while encoding the given search filter.
223
224 LDAP_USER_CANCELED (88)
225 The user canceled the operation
226
227 LDAP_PARAM_ERROR (89)
228 An invalid parameter was specified
229
230 LDAP_NO_MEMORY (90)
231 Out of memory error
232
233 LDAP_CONNECT_ERROR (91)
234 A connection to the server could not be established
235
236 LDAP_NOT_SUPPORTED (92)
237 An attempt has been made to use a feature not supported by
238 Net::LDAP
239
240 LDAP_CONTROL_NOT_FOUND (93)
241 The controls required to perform the requested operation were not
242 found.
243
244 LDAP_NO_RESULTS_RETURNED (94)
245 No results were returned from the server.
246
247 LDAP_MORE_RESULTS_TO_RETURN (95)
248 There are more results in the chain of results.
249
250 LDAP_CLIENT_LOOP (96)
251 A loop has been detected. For example when following referals.
252
253 LDAP_REFERRAL_LIMIT_EXCEEDED (97)
254 The referral hop limit has been exceeded.
255
256 LDAP_SYNC_REFRESH_REQUIRED (4096)
257 Refresh Required.
258
259 Control OIDs
260 LDAP_CONTROL_SORTREQUEST (1.2.840.113556.1.4.473)
261 LDAP_CONTROL_SORTRESULT (1.2.840.113556.1.4.474)
262 LDAP_CONTROL_VLVREQUEST (2.16.840.1.113730.3.4.9)
263 LDAP_CONTROL_VLVRESPONSE (2.16.840.1.113730.3.4.10)
264 LDAP_CONTROL_PROXYAUTHENTICATION (2.16.840.1.113730.3.4.18)
265 LDAP_CONTROL_PAGED (1.2.840.113556.1.4.319)
266 LDAP_CONTROL_TREE_DELETE (1.2.840.113556.1.4.805)
267 LDAP_CONTROL_MATCHEDVALS (1.2.826.0.1.3344810.2.2)
268 LDAP_CONTROL_MATCHEDVALUES (1.2.826.0.1.3344810.2.3)
269 LDAP_CONTROL_MANAGEDSAIT (2.16.840.1.113730.3.4.2)
270 LDAP_CONTROL_PERSISTENTSEARCH (2.16.840.1.113730.3.4.3)
271 LDAP_CONTROL_ENTRYCHANGE (2.16.840.1.113730.3.4.7)
272 LDAP_CONTROL_PWEXPIRED (2.16.840.1.113730.3.4.4)
273 LDAP_CONTROL_PWEXPIRING (2.16.840.1.113730.3.4.5)
274 LDAP_CONTROL_REFERRALS (1.2.840.113556.1.4.616)
275 LDAP_CONTROL_PASSWORDPOLICY (1.3.6.1.4.1.42.2.27.8.5.1)
276 LDAP_CONTROL_PREREAD (1.3.6.1.1.13.1)
277 LDAP_CONTROL_POSTREAD (1.3.6.1.1.13.2)
278 LDAP_CONTROL_ASSERTION (1.3.6.1.1.12)
279 LDAP_CONTROL_SYNC (1.3.6.1.4.1.4203.1.9.1.1)
280 LDAP_CONTROL_SYNC_STATE (1.3.6.1.4.1.4203.1.9.1.2)
281 LDAP_CONTROL_SYNC_DONE (1.3.6.1.4.1.4203.1.9.1.3)
282 LDAP_SYNC_INFO (1.3.6.1.4.1.4203.1.9.1.4)
283
284 Control constants
285 LDAP_PP_PASSWORD_EXPIRED (0) [LDAP_CONTROL_PASSWORDPOLICY]
286 The account's password has expired.
287
288 LDAP_PP_ACCOUNT_LOCKED (1) [LDAP_CONTROL_PASSWORDPOLICY]
289 The account is locked.
290
291 LDAP_PP_CHANGE_AFTER_RESET (2) [LDAP_CONTROL_PASSWORDPOLICY]
292 The account's password has been reset and now must be changed.
293
294 LDAP_PP_PASSWORD_MOD_NOT_ALLOWED (3) [LDAP_CONTROL_PASSWORDPOLICY]
295 The account's password may not be modified.
296
297 LDAP_PP_MUST_SUPPLY_OLD_PASSWORD (4) [LDAP_CONTROL_PASSWORDPOLICY]
298 The old password must also be supplied when setting a new password.
299
300 LDAP_PP_INSUFFICIENT_PASSWORD_QUALITY (5) [LDAP_CONTROL_PASSWORDPOLICY]
301 The new password was not of sufficient quality.
302
303 LDAP_PP_PASSWORD_TOO_SHORT (6) [LDAP_CONTROL_PASSWORDPOLICY]
304 The new password was too short.
305
306 LDAP_PP_PASSWORD_TOO_YOUNG (7) [LDAP_CONTROL_PASSWORDPOLICY]
307 The previous password was changed too recently.
308
309 LDAP_PP_PASSWORD_IN_HISTORY (8) [LDAP_CONTROL_PASSWORDPOLICY]
310 The new password was used too recently.
311
312 LDAP_SYNC_NONE (0) [LDAP_CONTROL_SYNC]
313 LDAP_SYNC_REFRESH_ONLY (1) [LDAP_CONTROL_SYNC]
314 LDAP_SYNC_RESERVED (2) [LDAP_CONTROL_SYNC]
315 LDAP_SYNC_REFRESH_AND_PERSIST (3) [LDAP_CONTROL_SYNC]
316 LDAP_SYNC_REFRESH_PRESENTS (0) [LDAP_SYNC_INFO]
317 LDAP_SYNC_REFRESH_DELETES (1) [LDAP_SYNC_INFO]
318 LDAP_TAG_SYNC_NEW_COOKIE (0x80) [LDAP_SYNC_INFO]
319 LDAP_TAG_SYNC_REFRESH_DELETE (0xa1) [LDAP_SYNC_INFO]
320 LDAP_TAG_SYNC_REFRESH_PRESENT (0xa2) [LDAP_SYNC_INFO]
321 LDAP_TAG_SYNC_ID_SET (0xa3) [LDAP_SYNC_INFO]
322 LDAP_TAG_SYNC_COOKIE (0x04) [LDAP_SYNC_INFO]
323 LDAP_TAG_REFRESHDELETES (0x01) [LDAP_SYNC_INFO]
324 LDAP_TAG_REFRESHDONE (0x01) [LDAP_SYNC_INFO]
325 LDAP_TAG_RELOAD_HINT (0x01) [LDAP_CONTROL_SYNC]
326 LDAP_SYNC_PRESENT (0) [LDAP_CONTROL_SYNC_STATE]
327 LDAP_SYNC_ADD (1) [LDAP_CONTROL_SYNC_STATE]
328 LDAP_SYNC_MODIFY (2) [LDAP_CONTROL_SYNC_STATE]
329 LDAP_SYNC_DELETE (3) [LDAP_CONTROL_SYNC_STATE]
330
331 Extension OIDs
332 Net::LDAP::Constant exports constant subroutines for the following LDAP
333 extension OIDs.
334
335 LDAP_EXTENSION_START_TLS (1.3.6.1.4.1.1466.20037)
336 Indicates if the server supports the Start TLS extension (RFC 2830)
337
338 LDAP_EXTENSION_PASSWORD_MODIFY (1.3.6.1.4.1.4203.1.11.1)
339 Indicates that the server supports the Password Modify extension
340 (RFC 3062)
341
342 LDAP_EXTENSION_WHO_AM_I (1.3.6.1.4.1.4203.1.11.3)
343 Indicates that the server supports the "Who am I?" extension (RFC
344 4532)
345
346 LDAP_EXTENSION_REFRESH (1.3.6.1.4.1.1466.101.119.1)
347 Indicates that the server supports the Refresh extension (RFC 2589)
348
349 Feature OIDs
350 Net::LDAP::Constant exports constant subroutines for the following LDAP
351 feature OIDs.
352
353 LDAP_FEATURE_ALL_OPATTS (1.3.6.1.4.1.4203.1.5.1)
354 Indicates if the server allows "+" for returning all operational
355 attributes (RFC 3673)
356
357 LDAP_FEATURE_MODIFY_INCREMENT (1.3.6.1.1.14)
358 Indicates if the server supports the Modify Increment extension
359 (RFC 4525)
360
362 Net::LDAP, Net::LDAP::Message
363
365 Graham Barr <gbarr@pobox.com>
366
367 Please report any bugs, or post any suggestions, to the perl-ldap
368 mailing list <perl-ldap@perl.org>
369
371 Copyright (c) 1998-2009 Graham Barr. All rights reserved. This program
372 is free software; you can redistribute it and/or modify it under the
373 same terms as Perl itself.
374
375
376
377perl v5.12.0 2010-03-12 Net::LDAP::Constant(3)