1Net::LDAP::Constant(3)User Contributed Perl DocumentationNet::LDAP::Constant(3)
2
3
4

NAME

6       Net::LDAP::Constant - Constants for use with Net::LDAP
7

SYNOPSIS

9        use Net::LDAP qw(LDAP_SUCCESS LDAP_PROTOCOL_ERROR);
10

DESCRIPTION

12       Net::LDAP::Constant exports constant subroutines for the following LDAP
13       error codes.
14
15       Protocol Constants
16
17       LDAP_SUCCESS (0)
18           Operation completed without error
19
20       LDAP_OPERATIONS_ERROR (1)
21           Server encountered an internal error
22
23       LDAP_PROTOCOL_ERROR (2)
24           Unrecognized version number or incorrect PDU structure
25
26       LDAP_TIMELIMIT_EXCEEDED (3)
27           The time limit on a search operation has been exceeded
28
29       LDAP_SIZELIMIT_EXCEEDED (4)
30           The maximum number of search results to return has been exceeded.
31
32       LDAP_COMPARE_FALSE (5)
33           This code is returned when a compare request completes and the
34           attribute value given is not in the entry specified
35
36       LDAP_COMPARE_TRUE (6)
37           This code is returned when a compare request completes and the
38           attribute value given is in the entry specified
39
40       LDAP_AUTH_METHOD_NOT_SUPPORTED (7)
41           Unrecognized SASL mechanism name
42
43       LDAP_STRONG_AUTH_NOT_SUPPORTED (7)
44           Unrecognized SASL mechanism name
45
46       LDAP_STRONG_AUTH_REQUIRED (8)
47           The server requires authentication be performed with a SASL mecha‐
48           nism
49
50       LDAP_PARTIAL_RESULTS (9)
51           Returned to version 2 clients when a referral is returned. The
52           response will contain a list of URL's for other servers.
53
54       LDAP_REFERRAL (10)
55           The server is referring the client to another server. The response
56           will contain a list of URL's
57
58       LDAP_ADMIN_LIMIT_EXCEEDED (11)
59           The server has exceed the maximum number of entries to search while
60           gathering a list of search result candidates
61
62       LDAP_UNAVAILABLE_CRITICAL_EXT (12)
63           A control or matching rule specified in the request is not sup‐
64           ported by the server
65
66       LDAP_CONFIDENTIALITY_REQUIRED (13)
67           This result code is returned when confidentiality is required to
68           perform a given operation
69
70       LDAP_SASL_BIND_IN_PROGRESS (14)
71           The server requires the client to send a new bind request, with the
72           same SASL mechanism, to continue the authentication process
73
74       LDAP_NO_SUCH_ATTRIBUTE (16)
75           The request referenced an attribute that does not exist
76
77       LDAP_UNDEFINED_TYPE (17)
78           The request contains an undefined attribute type
79
80       LDAP_INAPPROPRIATE_MATCHING (18)
81           An extensible matching rule in the given filter does not apply to
82           the specified attribute
83
84       LDAP_CONSTRAINT_VIOLATION (19)
85           The request contains a value which does not meet with certain con‐
86           straints.  This result can be returned as a consequence of
87
88           *   The request was to add or modify a user password, and the pass‐
89               word fails to meet the criteria the server is configured to
90               check. This could be that the password is too short, or a rec‐
91               ognizable word (e.g. it matches one of the attributes in the
92               users entry) or it matches a previous password used by the same
93               user.
94
95           *   The request is a bind request to a user account that has been
96               locked
97
98       LDAP_TYPE_OR_VALUE_EXISTS (20)
99           The request attempted to add an attribute type or value that
100           already exists
101
102       LDAP_INVALID_SYNTAX (21)
103           Some part of the request contained an invalid syntax. It could be a
104           search with an invalid filter or a request to modify the schema and
105           the given schema has a bad syntax.
106
107       LDAP_NO_SUCH_OBJECT (32)
108           The server cannot find an object specified in the request
109
110       LDAP_ALIAS_PROBLEM (33)
111           Server encountered a problem while attempting to dereference an
112           alias
113
114       LDAP_INVALID_DN_SYNTAX (34)
115           The request contained an invalid DN
116
117       LDAP_IS_LEAF (35)
118           The specified entry is a leaf entry
119
120       LDAP_ALIAS_DEREF_PROBLEM (36)
121           Server encountered a problem while attempting to dereference an
122           alias
123
124       LDAP_INAPPROPRIATE_AUTH (48)
125           The server requires the client which had attempted to bind anony‐
126           mously or without supplying credentials to provide some form of
127           credentials
128
129       LDAP_INVALID_CREDENTIALS (49)
130           The wrong password was supplied or the SASL credentials could not
131           be processed
132
133       LDAP_INSUFFICIENT_ACCESS (50)
134           The client does not have sufficient access to perform the requested
135           operation
136
137       LDAP_BUSY (51)
138           The server is too busy to perform requested operation
139
140       LDAP_UNAVAILABLE (52)
141           The server in unavailable to perform the request, or the server is
142           shutting down
143
144       LDAP_UNWILLING_TO_PERFORM (53)
145           The server is unwilling to perform the requested operation
146
147       LDAP_LOOP_DETECT (54)
148           The server was unable to perform the request due to an internal
149           loop detected
150
151       LDAP_SORT_CONTROL_MISSING (60)
152           The search contained a "virtual list view" control, but not a
153           server-side sorting control, which is required when a "virtual list
154           view" is given.
155
156       LDAP_INDEX_RANGE_ERROR (61)
157           The search contained a control for a "virtual list view" and the
158           results exceeded the range specified by the requested offsets.
159
160       LDAP_NAMING_VIOLATION (64)
161           The request violates the structure of the DIT
162
163       LDAP_OBJECT_CLASS_VIOLATION (65)
164           The request specifies a change to an existing entry or the addition
165           of a new entry that does not comply with the servers schema
166
167       LDAP_NOT_ALLOWED_ON_NONLEAF (66)
168           The requested operation is not allowed on an entry that has child
169           entries
170
171       LDAP_NOT_ALLOWED_ON_RDN (67)
172           The requested operation ill affect the RDN of the entry
173
174       LDAP_ALREADY_EXISTS (68)
175           The client attempted to add an entry that already exists. This can
176           occur as a result of
177
178           *   An add request was submitted with a DN that already exists
179
180           *   A modify DN requested was submitted, where the requested new DN
181               already exists
182
183           *   The request is adding an attribute to the schema and an
184               attribute with the given OID or name already exists
185
186       LDAP_NO_OBJECT_CLASS_MODS (69)
187           Request attempt to modify the object class of an entry that should
188           not be modified
189
190       LDAP_RESULTS_TOO_LARGE (70)
191           The results of the request are to large
192
193       LDAP_AFFECTS_MULTIPLE_DSAS (71)
194           The requested operation needs to be performed on multiple servers
195           where the requested operation is not permitted
196
197       LDAP_OTHER (80)
198           An unknown error has occurred
199
200       LDAP_SERVER_DOWN (81)
201           "Net::LDAP" cannot establish a connection or the connection has
202           been lost
203
204       LDAP_LOCAL_ERROR (82)
205           An error occurred in "Net::LDAP"
206
207       LDAP_ENCODING_ERROR (83)
208           "Net::LDAP" encountered an error while encoding the request packet
209           that would have been sent to the server
210
211       LDAP_DECODING_ERROR (84)
212           "Net::LDAP" encountered an error while decoding a response packet
213           from the server.
214
215       LDAP_TIMEOUT (85)
216           "Net::LDAP" timeout while waiting for a response from the server
217
218       LDAP_AUTH_UNKNOWN (86)
219           The method of authentication requested in a bind request is unknown
220           to the server
221
222       LDAP_FILTER_ERROR (87)
223           An error occurred while encoding the given search filter.
224
225       LDAP_USER_CANCELED (88)
226           The user canceled the operation
227
228       LDAP_PARAM_ERROR (89)
229           An invalid parameter was specified
230
231       LDAP_NO_MEMORY (90)
232           Out of memory error
233
234       LDAP_CONNECT_ERROR (91)
235           A connection to the server could not be established
236
237       LDAP_NOT_SUPPORTED (92)
238           An attempt has been made to use a feature not supported by
239           Net::LDAP
240
241       LDAP_CONTROL_NOT_FOUND (93)
242           The controls required to perform the requested operation were not
243           found.
244
245       LDAP_NO_RESULTS_RETURNED (94)
246           No results were returned from the server.
247
248       LDAP_MORE_RESULTS_TO_RETURN (95)
249           There are more results in the chain of results.
250
251       LDAP_CLIENT_LOOP (96)
252           A loop has been detected. For example when following referals.
253
254       LDAP_REFERRAL_LIMIT_EXCEEDED (97)
255           The referral hop limit has been exceeded.
256
257       Control OIDs
258
259       LDAP_CONTROL_SORTREQUEST (1.2.840.113556.1.4.473)
260       LDAP_CONTROL_SORTRESULT (1.2.840.113556.1.4.474)
261       LDAP_CONTROL_VLVREQUEST (2.16.840.1.113730.3.4.9)
262       LDAP_CONTROL_VLVRESPONSE (2.16.840.1.113730.3.4.10)
263       LDAP_CONTROL_PROXYAUTHENTICATION (2.16.840.1.113730.3.4.18)
264       LDAP_CONTROL_PAGED (1.2.840.113556.1.4.319)
265       LDAP_CONTROL_TREE_DELETE (1.2.840.113556.1.4.805)
266       LDAP_CONTROL_MATCHEDVALS (1.2.826.0.1.3344810.2.2)
267       LDAP_CONTROL_MATCHEDVALUES (1.2.826.0.1.3344810.2.3)
268       LDAP_CONTROL_MANAGEDSAIT (2.16.840.1.113730.3.4.2)
269       LDAP_CONTROL_PERSISTENTSEARCH (2.16.840.1.113730.3.4.3)
270       LDAP_CONTROL_ENTRYCHANGE (2.16.840.1.113730.3.4.7)
271       LDAP_CONTROL_PWEXPIRED (2.16.840.1.113730.3.4.4)
272       LDAP_CONTROL_PWEXPIRING (2.16.840.1.113730.3.4.5)
273       LDAP_CONTROL_REFERRALS (1.2.840.113556.1.4.616)
274
275       Extension OIDs
276
277       Net::LDAP::Constant exports constant subroutines for the following LDAP
278       extension OIDs.
279
280       LDAP_EXTENSION_START_TLS (1.3.6.1.4.1.1466.20037)
281           Indicates if the server supports the Start TLS extension (RFC 2830)
282
283       LDAP_EXTENSION_PASSWORD_MODIFY (1.3.6.1.4.1.4203.1.11.1)
284           Indicates that the server supports the Password Modify extension
285           (RFC 3062)
286
287       LDAP_EXTENSION_WHO_AM_I (1.3.6.1.4.1.4203.1.11.3)
288           Indicates that the server supports the "Who am I?" extension
289           (draft-zeilenga-ldap-authzid-09)
290

SEE ALSO

292       Net::LDAP, Net::LDAP::Message
293

AUTHOR

295       Graham Barr <gbarr@pobox.com>
296
297       Please report any bugs, or post any suggestions, to the perl-ldap mail‐
298       ing list <perl-ldap@perl.org>
299
301       Copyright (c) 1998-2004 Graham Barr. All rights reserved. This program
302       is free software; you can redistribute it and/or modify it under the
303       same terms as Perl itself.
304
305
306
307perl v5.8.8                       2007-02-10            Net::LDAP::Constant(3)
Impressum