Whenever an LDAP directory server completes processing for an operation, it sends a response message back to the client with information about that operation. This response can help the client understand whether the operation succeeded or failed, but it may also provide additional information with more specific details about the nature of that success or failure. That response message includes a numeric result code, which is a basic indication of whether the operation succeeded, and to help categorize the reason for the failure.
Although each result code has a name in addition to its numeric value, it’s not always clear when a given result code might be used and what the potential causes might be. This reference tries to address that. It presents information collected from a number of different specifications, especially RFC 4511 (the core LDAPv3 protocol reference) and draft-just-ldapv3-rescodes (an IETF draft that served as an earlier version of a result code reference), along with information gleaned from years of experience working with LDAP.
- The Elements of an LDAP Operation Response Message
- Core LDAPv3 Result Codes
- Other Server-Side Result Codes
- Client-Side Result Codes
Table of LDAP Result Codes
The links above provide information about LDAP responses and result codes organized into logical sections. But if you’re looking for a specific result code, the following table can take you directly to the discussion of that code.
|Next: The Elements of an LDAP Operation Response Message|