Create a gist now

Instantly share code, notes, and snippets.

@nxadm /Result
Created Mar 13, 2018

Embed
class Net::LDAP::Constant {
### Constants ###
## Protocol Constants
constant LDAP-SUCCESS is export = 0;
constant LDAP-OPERATIONS-ERROR is export = 1;
constant LDAP-PROTOCOL-ERROR is export = 2;
constant LDAP-TIMELIMIT-EXCEEDED is export = 3;
constant LDAP-SIZELIMIT-EXCEEDED is export = 4;
constant LDAP-COMPARE-FALSE is export = 5;
constant LDAP-COMPARE-TRUE is export = 6;
constant LDAP-AUTH-METHOD-NOT-SUPPORTED is export = 7;
constant LDAP-STRONG-AUTH-NOT-SUPPORTED is export = 7;
constant LDAP-STRONG-AUTH-REQUIRED is export = 8;
constant LDAP-PARTIAL-RESULTS is export = 9;
constant LDAP-REFERRAL is export = 10;
constant LDAP-ADMIN-LIMIT-EXCEEDED is export = 11;
constant LDAP-UNAVAILABLE-CRITICAL-EXT is export = 12;
constant LDAP-CONFIDENTIALITY-REQUIRED is export = 13;
constant LDAP-SASL-BIND-IN-PROGRESS is export = 14;
constant LDAP-NO-SUCH-ATTRIBUTE is export = 16;
constant LDAP-UNDEFINED-TYPE is export = 17;
constant LDAP-INAPPROPRIATE-MATCHING is export = 18;
constant LDAP-CONSTRAINT-VIOLATION is export = 19;
constant LDAP-TYPE-OR-VALUE-EXISTS is export = 20;
constant LDAP-INVALID-SYNTAX is export = 21;
constant LDAP-NO-SUCH-OBJECT is export = 32;
constant LDAP-ALIAS-PROBLEM is export = 33;
constant LDAP-INVALID-DN-SYNTAX is export = 34;
constant LDAP-IS-LEAF is export = 35;
constant LDAP-ALIAS-DEREF-PROBLEM is export = 36;
constant LDAP-PROXY-AUTHZ-FAILURE is export = 47;
constant LDAP-INAPPROPRIATE-AUTH is export = 48;
constant LDAP-INVALID-CREDENTIALS is export = 49;
constant LDAP-INSUFFICIENT-ACCESS is export = 50;
constant LDAP-BUSY is export = 51;
constant LDAP-UNAVAILABLE is export = 52;
constant LDAP-UNWILLING-TO-PERFORM is export = 53;
constant LDAP-LOOP-DETECT is export = 54;
constant LDAP-SORT-CONTROL-MISSING is export = 60;
constant LDAP-INDEX-RANGE-ERROR is export = 61;
constant LDAP-NAMING-VIOLATION is export = 64;
constant LDAP-OBJECT-CLASS-VIOLATION is export = 65;
constant LDAP-NOT-ALLOWED-ON-NONLEAF is export = 66;
constant LDAP-NOT-ALLOWED-ON-RDN is export = 67;
constant LDAP-ALREADY-EXISTS is export = 68;
constant LDAP-NO-OBJECT-CLASS-MODS is export = 69;
constant LDAP-RESULTS-TOO-LARGE is export = 70;
constant LDAP-AFFECTS-MULTIPLE-DSAS is export = 71;
constant LDAP-VLV-ERROR is export = 76;
constant LDAP-OTHER is export = 80;
constant LDAP-SERVER-DOWN is export = 81;
constant LDAP-LOCAL-ERROR is export = 82;
constant LDAP-ENCODING-ERROR is export = 83;
constant LDAP-DECODING-ERROR is export = 84;
constant LDAP-TIMEOUT is export = 85;
constant LDAP-AUTH-UNKNOWN is export = 86;
constant LDAP-FILTER-ERROR is export = 87;
constant LDAP-USER-CANCELED is export = 88;
constant LDAP-PARAM-ERROR is export = 89;
constant LDAP-NO-MEMORY is export = 90;
constant LDAP-CONNECT-ERROR is export = 91;
constant LDAP-NOT-SUPPORTED is export = 92;
constant LDAP-CONTROL-NOT-FOUND is export = 93;
constant LDAP-NO-RESULTS-RETURNED is export = 94;
constant LDAP-MORE-RESULTS-TO-RETURN is export = 95;
constant LDAP-CLIENT-LOOP is export = 96;
constant LDAP-REFERRAL-LIMIT-EXCEEDED is export = 97;
constant LDAP-CANCELED is export = 118;
constant LDAP-NO-SUCH-OPERATION is export = 119;
constant LDAP-TOO-LATE is export = 120;
constant LDAP-CANNOT-CANCEL is export = 121;
constant LDAP-ASSERTION-FAILED is export = 122;
constant LDAP-SYNC-REFRESH-REQUIRED is export = 4096;
## Control OIDs
constant LDAP-CONTROL-SORTREQUEST is export = '1.2.840.113556.1.4.473';
constant LDAP-CONTROL-SORTRESULT is export = '1.2.840.113556.1.4.474';
constant LDAP-CONTROL-SORTRESPONSE is export = '1.2.840.113556.1.4.474';
constant LDAP-CONTROL-VLVREQUEST is export = '2.16.840.1.113730.3.4.9';
constant LDAP-CONTROL-VLVRESPONSE is export = '2.16.840.1.113730.3.4.10';
constant LDAP-CONTROL-PROXYAUTHORIZATION is export = '2.16.840.1.113730.3.4.18';
constant LDAP-CONTROL-PROXYAUTHENTICATION is export = '2.16.840.1.113730.3.4.18';
constant LDAP-CONTROL-PAGED is export = '1.2.840.113556.1.4.319';
constant LDAP-CONTROL-TREE-DELETE is export = '1.2.840.113556.1.4.805';
constant LDAP-CONTROL-MATCHEDVALS is export = '1.2.826.0.1.3344810.2.2';
constant LDAP-CONTROL-MATCHEDVALUES is export = '1.2.826.0.1.3344810.2.3';
constant LDAP-CONTROL-MANAGEDSAIT is export = '2.16.840.1.113730.3.4.2';
constant LDAP-CONTROL-PERSISTENTSEARCH is export = '2.16.840.1.113730.3.4.3';
constant LDAP-CONTROL-ENTRYCHANGE is export = '2.16.840.1.113730.3.4.7';
constant LDAP-CONTROL-PWEXPIRED is export = '2.16.840.1.113730.3.4.4';
constant LDAP-CONTROL-PWEXPIRING is export = '2.16.840.1.113730.3.4.5';
constant LDAP-CONTROL-REFERRALS is export = '1.2.840.113556.1.4.616';
constant LDAP-CONTROL-RELAX is export = '1.3.6.1.4.1.4203.666.5.12';
constant LDAP-CONTROL-PASSWORDPOLICY is export = '1.3.6.1.4.1.42.2.27.8.5.1';
constant LDAP-CONTROL-PERMISSIVEMODIFY is export = '1.2.840.113556.1.4.1413';
constant LDAP-CONTROL-PREREAD is export = '1.3.6.1.1.13.1';
constant LDAP-CONTROL-POSTREAD is export = '1.3.6.1.1.13.2';
constant LDAP-CONTROL-ASSERTION is export = '1.3.6.1.1.12';
constant LDAP-CONTROL-DONTUSECOPY is export = '1.3.6.1.1.22';
constant LDAP-CONTROL-NOOP is export = '1.3.6.1.4.1.4203.666.5.2';
constant LDAP-CONTROL-SYNC is export = '1.3.6.1.4.1.4203.1.9.1.1';
constant LDAP-CONTROL-SYNC-STATE is export = '1.3.6.1.4.1.4203.1.9.1.2';
constant LDAP-CONTROL-SYNC-DONE is export = '1.3.6.1.4.1.4203.1.9.1.3';
constant LDAP-SYNC-INFO is export = '1.3.6.1.4.1.4203.1.9.1.4';
## Control Constants
constant LDAP-PP-PASSWORD-EXPIRED is export = 0;
constant LDAP-PP-ACCOUNT-LOCKED is export = 1;
constant LDAP-PP-CHANGE-AFTER-RESET is export = 2;
constant LDAP-PP-PASSWORD-MOD-NOT-ALLOWED is export = 3;
constant LDAP-PP-MUST-SUPPLY-OLD-PASSWORD is export = 4;
constant LDAP-PP-INSUFFICIENT-PASSWORD-QUALITY is export = 5;
constant LDAP-PP-PASSWORD-TOO-SHORT is export = 6;
constant LDAP-PP-PASSWORD-TOO-YOUNG is export = 7;
constant LDAP-PP-PASSWORD-IN-HISTORY is export = 8;
constant LDAP-SYNC-NONE is export = 0;
constant LDAP-SYNC-REFRESH-ONLY is export = 1;
constant LDAP-SYNC-RESERVED is export = 2;
constant LDAP-SYNC-REFRESH-AND-PERSIST is export = 3;
constant LDAP-SYNC-REFRESH-PRESENTS is export = 0;
constant LDAP-SYNC-REFRESH-DELETES is export = 1;
constant LDAP-TAG-SYNC-NEW-COOKIE is export = 0x80;
constant LDAP-TAG-SYNC-REFRESH-DELETE is export = 0xa1;
constant LDAP-TAG-SYNC-REFRESH-PRESENT is export = 0xa2;
constant LDAP-TAG-SYNC-ID-SET is export = 0xa3;
constant LDAP-TAG-SYNC-COOKIE is export = 0x04;
constant LDAP-TAG-REFRESHDELETES is export = 0x01;
constant LDAP-TAG-REFRESHDONE is export = 0x01;
constant LDAP-TAG-RELOAD-HINT is export = 0x01;
constant LDAP-SYNC-PRESENT is export = 0;
constant LDAP-SYNC-ADD is export = 1;
constant LDAP-SYNC-MODIFY is export = 2;
constant LDAP-SYNC-DELETE is export = 3;
## Extension OIDs
constant LDAP-NOTICE-OF-DISCONNECTION is export = '1.3.6.1.4.1.1466.20036';
constant LDAP-EXTENSION-START-TLS is export = '1.3.6.1.4.1.1466.20037';
constant LDAP-EXTENSION-PASSWORD-MODIFY is export = '1.3.6.1.4.1.4203.1.11.1';
constant LDAP-EXTENSION-WHO-AM-I is export = '1.3.6.1.4.1.4203.1.11.3';
constant LDAP-EXTENSION-REFRESH is export = '1.3.6.1.4.1.1466.101.119.1';
constant LDAP-EXTENSION-CANCEL is export = '1.3.6.1.1.8';
# Novell eDirectory Extension OIDs
constant LDAP-EXTENSION-NDSTOLDAP is export = '2.16.840.1.113719.1.27.100.2';
constant LDAP-EXTENSION-SPLIT-PARTITION is export = '2.16.840.1.113719.1.27.100.3';
constant LDAP-EXTENSION-MERGE-PARTITION is export = '2.16.840.1.113719.1.27.100.5';
constant LDAP-EXTENSION-ADD-REPLICA is export = '2.16.840.1.113719.1.27.100.7';
constant LDAP-EXTENSION-REFRESH-LDAP-SERVER is export = '2.16.840.1.113719.1.27.100.9';
constant LDAP-EXTENSION-REMOVE-REPLICA is export = '2.16.840.1.113719.1.27.100.11';
constant LDAP-EXTENSION-PARTITION-ENTRY-COUNT is export = '2.16.840.1.113719.1.27.100.13';
constant LDAP-EXTENSION-CHANGE-REPLICA-TYPE is export = '2.16.840.1.113719.1.27.100.15';
constant LDAP-EXTENSION-GET-REPLICA-INFO is export = '2.16.840.1.113719.1.27.100.17';
constant LDAP-EXTENSION-LIST-REPLICAS is export = '2.16.840.1.113719.1.27.100.19';
constant LDAP-EXTENSION-RECEIVE-ALL-UPDATES is export = '2.16.840.1.113719.1.27.100.21';
constant LDAP-EXTENSION-SEND-ALL-UPDATES is export = '2.16.840.1.113719.1.27.100.23';
constant LDAP-EXTENSION-REQUEST-PARTITIONSYNC is export = '2.16.840.1.113719.1.27.100.25';
constant LDAP-EXTENSION-REQUEST-SCHEMASYNC is export = '2.16.840.1.113719.1.27.100.27';
constant LDAP-EXTENSION-ABORT-PARTITION-OPERATION is export = '2.16.840.1.113719.1.27.100.29';
constant LDAP-EXTENSION-GET-BINDDN is export = '2.16.840.1.113719.1.27.100.31';
constant LDAP-EXTENSION-GET-EFFECTIVE-PRIVILEGES is export = '2.16.840.1.113719.1.27.100.33';
constant LDAP-EXTENSION-SET-REPLICATION-FILTER is export = '2.16.840.1.113719.1.27.100.35';
constant LDAP-EXTENSION-GET-REPLICATION-FILTER is export = '2.16.840.1.113719.1.27.100.37';
constant LDAP-EXTENSION-CREATE-ORPHAN-PARTITION is export = '2.16.840.1.113719.1.27.100.39';
constant LDAP-EXTENSION-REMOVE-ORPHAN-PARTITION is export = '2.16.840.1.113719.1.27.100.41';
constant LDAP-EXTENSION-TRIGGER-BACKLINKER is export = '2.16.840.1.113719.1.27.100.43';
constant LDAP-EXTENSION-TRIGGER-DRLPROCESS is export = '2.16.840.1.113719.1.27.100.45';
constant LDAP-EXTENSION-TRIGGER-JANITOR is export = '2.16.840.1.113719.1.27.100.47';
constant LDAP-EXTENSION-TRIGGER-LIMBER is export = '2.16.840.1.113719.1.27.100.49';
constant LDAP-EXTENSION-TRIGGER-SKULKER is export = '2.16.840.1.113719.1.27.100.51';
constant LDAP-EXTENSION-TRIGGER-SCHEMASYNC is export = '2.16.840.1.113719.1.27.100.53';
constant LDAP-EXTENSION-TRIGGER-PARTITIONPURGE is export = '2.16.840.1.113719.1.27.100.55';
constant LDAP-EXTENSION-MONITOR-EVENTS is export = '2.16.840.1.113719.1.27.100.79';
constant LDAP-EXTENSION-EVENT-NOTIFICATION is export = '2.16.840.1.113719.1.27.100.81';
constant LDAP-EXTENSION-FILTERED-EVENT-MONITOR is export = '2.16.840.1.113719.1.27.100.84';
constant LDAP-EXTENSION-LDAPBACKUP is export = '2.16.840.1.113719.1.27.100.96';
constant LDAP-EXTENSION-LDAPRESTORE is export = '2.16.840.1.113719.1.27.100.98';
constant LDAP-EXTENSION-GET-EFFECTIVE-LIST-PRIVILEGES is export = '2.16.840.1.113719.1.27.100.103';
constant LDAP-EXTENSION-CREATE-GROUPING is export = '2.16.840.1.113719.1.27.103.1';
constant LDAP-EXTENSION-END-GROUPING is export = '2.16.840.1.113719.1.27.103.2';
constant LDAP-EXTENSION-NMAS-PUT-LOGIN-CONFIGURATION is export = '2.16.840.1.113719.1.39.42.100.1';
constant LDAP-EXTENSION-NMAS-GET-LOGIN-CONFIGURATION is export = '2.16.840.1.113719.1.39.42.100.3';
constant LDAP-EXTENSION-NMAS-DELETE-LOGIN-CONFIGURATION is export = '2.16.840.1.113719.1.39.42.100.5';
constant LDAP-EXTENSION-NMAS-PUT-LOGIN-SECRET is export = '2.16.840.1.113719.1.39.42.100.7';
constant LDAP-EXTENSION-NMAS-DELETE-LOGIN-SECRET is export = '2.16.840.1.113719.1.39.42.100.9';
constant LDAP-EXTENSION-NMAS-SET-PASSWORD is export = '2.16.840.1.113719.1.39.42.100.11';
constant LDAP-EXTENSION-NMAS-GET-PASSWORD is export = '2.16.840.1.113719.1.39.42.100.13';
constant LDAP-EXTENSION-NMAS-DELETE-PASSWORD is export = '2.16.840.1.113719.1.39.42.100.15';
constant LDAP-EXTENSION-NMAS-PASSWORD-POLICYCHECK is export = '2.16.840.1.113719.1.39.42.100.17';
constant LDAP-EXTENSION-NMAS-GET-PASSWORD-POLICY-INFO is export = '2.16.840.1.113719.1.39.42.100.19';
constant LDAP-EXTENSION-NMAS-CHANGE-PASSWORD is export = '2.16.840.1.113719.1.39.42.100.21';
constant LDAP-EXTENSION-NMAS-GAMS is export = '2.16.840.1.113719.1.39.42.100.23';
constant LDAP-EXTENSION-NMAS-MANAGEMENT is export = '2.16.840.1.113719.1.39.42.100.25';
constant LDAP-EXTENSION-START-FRAMED-PROTOCOL is export = '2.16.840.1.113719.1.142.100.1';
constant LDAP-EXTENSION-END-FRAMED-PROTOCOL is export = '2.16.840.1.113719.1.142.100.4';
constant LDAP-EXTENSION-LBURP-OPERATION is export = '2.16.840.1.113719.1.142.100.6';
# Feature OIDs
constant LDAP-FEATURE-ALL-OPATTS is export = '1.3.6.1.4.1.4203.1.5.1';
constant LDAP-FEATURE-OBJECTCLASS-ATTRS is export = '1.3.6.1.4.1.4203.1.5.2';
constant LDAP-FEATURE-ABSOLUTE-FILTERS is export = '1.3.6.1.4.1.4203.1.5.3';
constant LDAP-FEATURE-LANGUAGE-TAG-OPTIONS is export = '1.3.6.1.4.1.4203.1.5.4';
constant LDAP-FEATURE-LANGUAGE-RANGE-OPTIONS is export = '1.3.6.1.4.1.4203.1.5.5';
constant LDAP-FEATURE-MODIFY-INCREMENT is export = '1.3.6.1.1.14';
# Active Directory Capability OIDs
constant LDAP-CAP-ACTIVE-DIRECTORY is export = '1.2.840.113556.1.4.800';
constant LDAP-CAP-ACTIVE-DIRECTORY-LDAP-INTEG is export = '1.2.840.113556.1.4.1791';
constant LDAP-CAP-ACTIVE-DIRECTORY-V51 is export = '1.2.840.113556.1.4.1670';
constant LDAP-CAP-ACTIVE-DIRECTORY-ADAM is export = '1.2.840.113556.1.4.1851';
constant LDAP-CAP-ACTIVE-DIRECTORY-ADAM-DIGEST is export = '1.2.840.113556.1.4.1880';
constant LDAP-CAP-ACTIVE-DIRECTORY-PARTIAL-SECRETS is export = '1.2.840.113556.1.4.1920';
constant LDAP-CAP-ACTIVE-DIRECTORY-V60 is export = '1.2.840.113556.1.4.1935';
constant LDAP-CAP-ACTIVE-DIRECTORY-V61-R2 is export = '1.2.840.113556.1.4.2080';
constant LDAP-CAP-ACTIVE-DIRECTORY-W8 is export = '1.2.840.113556.1.4.2237';
### Attrubutes ###
my Str %.err2name =
0 => "LDAP-SUCCESS",
1 => "LDAP-OPERATIONS-ERROR",
2 => "LDAP-PROTOCOL-ERROR",
3 => "LDAP-TIMELIMIT-EXCEEDED",
4 => "LDAP-SIZELIMIT-EXCEEDED",
5 => "LDAP-COMPARE-FALSE",
6 => "LDAP-COMPARE-TRUE",
7 => "LDAP-AUTH-METHOD-NOT-SUPPORTED",
7 => "LDAP-STRONG-AUTH-NOT-SUPPORTED",
8 => "LDAP-STRONG-AUTH-REQUIRED",
9 => "LDAP-PARTIAL-RESULTS",
10 => "LDAP-REFERRAL",
11 => "LDAP-ADMIN-LIMIT-EXCEEDED",
12 => "LDAP-UNAVAILABLE-CRITICAL-EXT",
13 => "LDAP-CONFIDENTIALITY-REQUIRED",
14 => "LDAP-SASL-BIND-IN-PROGRESS",
16 => "LDAP-NO-SUCH-ATTRIBUTE",
17 => "LDAP-UNDEFINED-TYPE",
18 => "LDAP-INAPPROPRIATE-MATCHING",
19 => "LDAP-CONSTRAINT-VIOLATION",
20 => "LDAP-TYPE-OR-VALUE-EXISTS",
21 => "LDAP-INVALID-SYNTAX",
32 => "LDAP-NO-SUCH-OBJECT",
33 => "LDAP-ALIAS-PROBLEM",
34 => "LDAP-INVALID-DN-SYNTAX",
35 => "LDAP-IS-LEAF",
36 => "LDAP-ALIAS-DEREF-PROBLEM",
47 => "LDAP-PROXY-AUTHZ-FAILURE",
48 => "LDAP-INAPPROPRIATE-AUTH",
49 => "LDAP-INVALID-CREDENTIALS",
50 => "LDAP-INSUFFICIENT-ACCESS",
51 => "LDAP-BUSY",
52 => "LDAP-UNAVAILABLE",
53 => "LDAP-UNWILLING-TO-PERFORM",
54 => "LDAP-LOOP-DETECT",
60 => "LDAP-SORT-CONTROL-MISSING",
61 => "LDAP-INDEX-RANGE-ERROR",
64 => "LDAP-NAMING-VIOLATION",
65 => "LDAP-OBJECT-CLASS-VIOLATION",
66 => "LDAP-NOT-ALLOWED-ON-NONLEAF",
67 => "LDAP-NOT-ALLOWED-ON-RDN",
68 => "LDAP-ALREADY-EXISTS",
69 => "LDAP-NO-OBJECT-CLASS-MODS",
70 => "LDAP-RESULTS-TOO-LARGE",
71 => "LDAP-AFFECTS-MULTIPLE-DSAS",
76 => "LDAP-VLV-ERROR",
80 => "LDAP-OTHER",
81 => "LDAP-SERVER-DOWN",
82 => "LDAP-LOCAL-ERROR",
83 => "LDAP-ENCODING-ERROR",
84 => "LDAP-DECODING-ERROR",
85 => "LDAP-TIMEOUT",
86 => "LDAP-AUTH-UNKNOWN",
87 => "LDAP-FILTER-ERROR",
88 => "LDAP-USER-CANCELED",
89 => "LDAP-PARAM-ERROR",
90 => "LDAP-NO-MEMORY",
91 => "LDAP-CONNECT-ERROR",
92 => "LDAP-NOT-SUPPORTED",
93 => "LDAP-CONTROL-NOT-FOUND",
94 => "LDAP-NO-RESULTS-RETURNED",
95 => "LDAP-MORE-RESULTS-TO-RETURN",
96 => "LDAP-CLIENT-LOOP",
97 => "LDAP-REFERRAL-LIMIT-EXCEEDED",
118 => "LDAP-CANCELED",
119 => "LDAP-NO-SUCH-OPERATION",
120 => "LDAP-TOO-LATE",
121 => "LDAP-CANNOT-CANCEL",
122 => "LDAP-ASSERTION-FAILED",
4096 => "LDAP-SYNC-REFRESH-REQUIRED";
my Str %.err2text =
0 => 'Operation completed without error',
1 => 'Server encountered an internal error',
2 => 'Unrecognized version number or incorrect PDU structure',
3 => 'The time limit on a search operation has been exceeded',
4 => 'The maximum number of search results to return has been exceeded',
5 => 'This code is returned when a compare request completes and the attribute value
given is not in the entry specified',
6 => 'This code is returned when a compare request completes and the attribute value
given is in the entry specified',
7 => 'Unrecognized SASL mechanism name',
7 => 'Unrecognized SASL mechanism name',
8 => 'The server requires authentication be performed with a SASL mechanism',
9 => 'Returned to version 2 clients when a referral is returned. The response
will contain a list of URLs for other servers',
10 => 'The server is referring the client to another server. The response will
contain a list of URLs',
11 => 'The server has exceed the maximum number of entries to search while gathering
a list of search result candidates',
12 => 'A control or matching rule specified in the request is not supported by
the server',
13 => 'This result code is returned when confidentiality is required to perform
a given operation',
14 => 'The server requires the client to send a new bind request, with the same SASL
mechanism, to continue the authentication process',
16 => 'The request referenced an attribute that does not exist',
17 => 'The request contains an undefined attribute type',
18 => 'An extensible matching rule in the given filter does not apply to the specified
attribute',
19 => 'The request contains a value which does not meet with certain constraints.
This result can be returned as a consequence of
* The request was to add or modify a user password, and the password fails to
meet the criteria the server is configured to check. This could be that the
password is too short, or a recognizable word (e.g. it matches one of the
attributes in the users entry) or it matches a previous password used by
the same user.
* The request is a bind request to a user account that has been locked',
20 => 'The request attempted to add an attribute type or value that already exists',
21 => 'Some part of the request contained an invalid syntax. It could be a search
with an invalid filter or a request to modify the schema and the given
schema has a bad syntax',
32 => 'The server cannot find an object specified in the request',
33 => 'Server encountered a problem while attempting to dereference an alias',
34 => 'The request contained an invalid DN',
35 => 'The specified entry is a leaf entry',
36 => 'Server encountered a problem while attempting to dereference an alias',
47 => 'The user bound is not authorized to assume the requested identity',
48 => 'The server requires the client which had attempted to bind anonymously or
without supplying credentials to provide some form of credentials',
49 => 'The wrong password was supplied or the SASL credentials could not be processed',
50 => 'The client does not have sufficient access to perform the requested
operation',
51 => 'The server is too busy to perform requested operation',
52 => 'The server in unavailable to perform the request, or the server is
shutting down',
53 => 'The server is unwilling to perform the requested operation',
54 => 'The server was unable to perform the request due to an internal loop detected',
60 => 'The search contained a "virtual list view" control, but not a server-side
sorting control, which is required when a "virtual list view" is given',
61 => 'The search contained a control for a "virtual list view" and the results
exceeded the range specified by the requested offsets',
64 => 'The request violates the structure of the DIT',
65 => 'The request specifies a change to an existing entry or the addition of a new
entry that does not comply with the servers schema',
66 => 'The requested operation is not allowed on an entry that has child entries',
67 => 'The requested operation ill affect the RDN of the entry',
68 => 'The client attempted to add an entry that already exists. This can occur as
a result of
* An add request was submitted with a DN that already exists
* A modify DN requested was submitted, where the requested new DN already exists
* The request is adding an attribute to the schema and an attribute with the
given OID or name already exists',
69 => 'Request attempt to modify the object class of an entry that should not be
modified',
70 => 'The results of the request are to large',
71 => 'The requested operation needs to be performed on multiple servers where
the requested operation is not permitted',
76 => 'A VLV error has occurred',
80 => 'An unknown error has occurred',
81 => 'C<Net::LDAP> cannot establish a connection or the connection has been lost',
82 => 'An error occurred in C<Net::LDAP>',
83 => 'C<Net::LDAP> encountered an error while encoding the request packet that would
have been sent to the server',
84 => 'C<Net::LDAP> encountered an error while decoding a response packet from
the server',
85 => 'C<Net::LDAP> timeout while waiting for a response from the server',
86 => 'The method of authentication requested in a bind request is unknown to
the server',
87 => 'An error occurred while encoding the given search filter',
88 => 'The user canceled the operation',
89 => 'An invalid parameter was specified',
90 => 'Out of memory error',
91 => 'A connection to the server could not be established',
92 => 'An attempt has been made to use a feature not supported by Net::LDAP',
93 => 'The controls required to perform the requested operation were not
found',
94 => 'No results were returned from the server',
95 => 'There are more results in the chain of results',
96 => 'A loop has been detected. For example when following referrals',
97 => 'The referral hop limit has been exceeded',
118 => 'Operation was canceled',
119 => 'Server has no knowledge of the operation requested for cancellation',
120 => 'Too late to cancel the outstanding operation',
121 => 'The identified operation does not support cancellation or
the cancel operation cannot be performed',
122 => 'An assertion control given in the LDAP operation evaluated to false
causing the operation to not be performed',
4096 => 'Refresh Required';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment