7.4. LDAP Result Codes

Directory Server uses the following LDAP result codes:

Table 7.5. LDAP Result Codes

Hex Values Constants Hex Values Constants
0x00 LDAP_SUCCESS 0x31 LDAP_INVALID_CREDENTIALS
0x01 LDAP_OPERATIONS_ERROR 0x32 LDAP_INSUFFICIENT_ACCESS
0x02 LDAP_PROTOCOL_ERROR 0x33 LDAP_BUSY
0x03 LDAP_TIMELIMIT_EXCEEDED 0x34 LDAP_UNAVAILABLE
0x04 LDAP_SIZELIMIT_EXCEEDED 0x35 LDAP_UNWILLING_TO_PERFORM
0x05 LDAP_COMPARE_FALSE 0x40 LDAP_NAMING_VIOLATION
0x06 LDAP_COMPARE_TRUE 0x41 LDAP_OBJECT_CLASS_VIOLATION
0x07 LDAP_AUTH_METHOD_NOT_SUPPORTED 0x42 LDAP_NOT_ALLOWED_ON_NONLEAF
0x08 LDAP_STRONG_AUTH_REQUIRED 0x43 LDAP_NOT_ALLOWED_ON_RDN
0x09 LDAP_PARTIAL_RESULTS 0x44 LDAP_ALREADY_EXISTS
0x0a LDAP_REFERRAL [a] 0x45 LDAP_NO_OBJECT_CLASS_MODS
0x0b LDAP_ADMINLIMIT_EXCEEDED [a] 0x46 LDAP_RESULTS_TOO_LARGE [b]
0x0c LDAP_UNAVAILABLE_CRITICAL_EXTENSION [a] 0x47 LDAP_AFFECTS_MULTIPLE_DSAS [a]
0x0d LDAP_CONFIDENTIALITY_REQUIRED [a] 0x4C LDAP_VIRTUAL_LIST_VIEW_ERROR
0x0e LDAP_SASL_BIND_IN_PROGRESS [a] 0x50 LDAP_OTHER
0x10 LDAP_NO_SUCH_ATTRIBUTE 0x51 LDAP_SERVER_DOWN
0x11 LDAP_UNDEFINED_TYPE 0x52 LDAP_LOCAL_ERROR
0x12 LDAP_INAPPROPRIATE_MATCHING 0x53 LDAP_ENCODING_ERROR
0x13 LDAP_CONSTRAINT_VIOLATION 0x54 LDAP_DECODING_ERROR
0x14 LDAP_TYPE_OR_VALUE_EXISTS 0x55 LDAP_TIMEOUT
0x15 LDAP_INVALID_SYNTAX 0x56 LDAP_AUTH_UNKNOWN
0x20 LDAP_NO_SUCH_OBJECT 0x57 LDAP_FILTER_ERROR
0x21 LDAP_ALIAS_PROBLEM 0x58 LDAP_USER_CANCELLED
0x22 LDAP_INVALID_DN_SYNTAX 0x5A LDAP_NO_MEMORY
0x23 LDAP_IS_LEAF [c] 0x5C LDAP_NOT_SUPPORTED
0x24 LDAP_ALIAS_DEREF_PROBLEM 0x76 LDAP_CANCELLED
0x30 LDAP_INAPPROPRIATE_AUTH
[a] LDAPv3
[b] Reserved for CLDAP
[c] Not used in LDAPv3