5.4. LDAP Result Codes

LDAP has a set of result codes with which it is useful to be familiar.

Table 5.5. LDAP Result Codes

Result Code Defined Value Result Code Defined Value
0 SUCCESS 48 INAPPROPRIATE_AUTHENTICATION
1 OPERATION_ERROR 49 INVALID_CREDENTIALS
2 PROTOCOL_ERROR 50 INSUFFICIENT_ACCESS_RIGHTS
3 TIME_LIMIT_EXCEEDED 51 BUSY
4 SIZE_LIMIT_EXCEEDED 52 UNAVAILABLE
5 COMPARE_FALSE 53 UNWILLING_TO_PERFORM
6 COMPARE_TRUE 54 LOOP_DEFECT
7 AUTH_METHOD_NOT_SUPPORTED 64 NAMING_VIOLATION
8 STRONG_AUTH_REQUIRED 65 OBJECT_CLASS_VIOLATION
9 LDAP_PARTIAL_RESULTS 66 NOT_ALLOWED_ON_NONLEAF
10 REFERRAL (LDAP v3) 67 NOT_ALLOWED_ON_RDN
11 ADMIN_LIMIT_EXCEEDED (LDAP v3) 68 ENTRY_ALREADY_EXISTS
12 UNAVAILABLE_CRITICAL_EXTENSION (LDAP v3) 69 OBJECT_CLASS_MODS_PROHIBITED
13 CONFIDENTIALITY_REQUIRED (LDAP v3) 71 AFFECTS_MULTIPLE_DSAS (LDAP v3)
14 SASL_BIND_IN_PROGRESS 80 OTHER
16 NO_SUCH_ATTRIBUTE 81 SERVER_DOWN
17 UNDEFINED_ATTRIBUTE_TYPE 85 LDAP_TIMEOUT
18 INAPPROPRIATE_MATCHING 89 PARAM_ERROR
19 CONSTRAINT_VIOLATION 91 CONNECT_ERROR
20 ATTRIBUTE_OR_VALUE_EXISTS 92 LDAP_NOT_SUPPORTED
21 INVALID_ATTRIBUTE_SYNTAX 93 CONTROL_NOT_FOUND
32 NO_SUCH_OBJECT 94 NO_RESULTS_RETURNED
33 ALIAS_PROBLEM 95 MORE_RESULTS_TO_RETURN
34 INVALID_DN_SYNTAX 96 CLIENT_LOOP
35 IS_LEAF 97 REFERRAL_LIMIT_EXCEEDED
36 ALIAS_DEREFERENCING_PROBLEM