LDAP server error codes are described in RFC 4511.
Client's error codes (>80) are declared in SecureBlackbox.
Possible values:
[.NET] [Pascal] [C++]
Value
Description
SB_LDAP_RESULT_SUCCESS
0 (0x00)
The requested client operation completed successfully.
SB_LDAP_RESULT_OPERATIONS_ERROR
1 (0x01)
Indicates an internal server error.
SB_LDAP_RESULT_PROTOCOL_ERROR
2 (0x02)
The server has received an invalid or malformed request from the client.
SB_LDAP_RESULT_TIME_LIMIT
3 (0x03)
Time limit exceeded. Incomplete results are returned if search operations were requested.
SB_LDAP_RESULT_SIZE_LIMIT
4 (0x04)
Size limit exceeded during a search operation; incomplete results are returned.
SB_LDAP_RESULT_COMPARE_FALSE
5 (0x05)
Does not indicate an error condition. Indicates that the results of a compare operation are False.
SB_LDAP_RESULT_COMPARE_TRUE
6 (0x06)
Does not indicate an error condition. Indicates that the results of a compare operation are true.
SB_LDAP_RESULT_AUTH_METHOD_NOT_SUPPORTED
7 (0x07)
The client has requested an unsupported authentication method during a bind operation.
SB_LDAP_RESULT_STRONGER_AUTH_REQUIRED
8 (0x08)
Indicates one of the following:
In a bind request, the LDAP server accepts only strong authentication.
In a client request, the client requested an operation that requires strong authentication (e.g., delete).
In an unsolicited notice of disconnection, the LDAP server discovers the security protecting the communication between the client and server has unexpectedly failed or been compromised.
SB_LDAP_RESULT_REFERRAL
10 (0x0A)
Does not indicate an error condition. In LDAPv3, indicates that a referral needs to be chased to complete the operation.
SB_LDAP_RESULT_ADMIN_LIMIT
11 (0x0B)
Indicates that an administrative limit has been exceeded.
SB_LDAP_RESULT_UNAVALIABLE_CRITICAL_EXTENSION
12 (0x0C)
A critical control is unrecognized.
SB_LDAP_RESULT_CONFIDENTIALITY_REQUIRED
13 (0x0D)
Indicates that data confidentiality protections are required.
SB_LDAP_RESULT_SASL_BIND_IN_PROGRESS
14 (0x0E)
The server requires the client to send a new bind request, with the same SASL mechanism, to continue the authentication process.
SB_LDAP_RESULT_NO_SUCH_ATTRIBUTE
16 (0x10)
The named entry does not contain the specified attribute or attribute value.
SB_LDAP_RESULT_UNDEFINED_ATTRIBUTE_TYPE
17 (0x11)
A request field contains an unrecognized attribute description.
SB_LDAP_RESULT_INAPPROPRIATE_MATCHING
18 (0x12)
Indicates that an attempt was made (e.g., in an assertion) to use a matching rule not defined for the attribute type concerned.
SB_LDAP_RESULT_CONSTRAINT_VIOLATION
19 (0x13)
Indicates that the client supplied an attribute value that does not conform to the constraints placed upon it by the data model. For example, this code is returned when multiple values are supplied to an attribute that has a SINGLE-VALUE constraint.
SB_LDAP_RESULT_ATTRIBUTE_OR_VALUE_EXISTS
20 (0x14)
The client supplied an attribute or value to be added to an entry, but the attribute or value already exists.
SB_LDAP_RESULT_INVALID_ATTRIBUTE_SYNTAX
21 (0x15)
Indicates that a purported attribute value does not conform to the syntax of the attribute.
SB_LDAP_RESULT_NO_SUCH_OBJECT
32 (0x20)
Indicates that the object does not exist in the DIT (directory information tree).
SB_LDAP_RESULT_ALIAS_PROBLEM
33 (0x21)
Indicates that an alias problem has occurred. For example, the code may be used to indicate an alias has been dereferenced that names no object.
SB_LDAP_RESULT_INVALID_DN_SYNTAX
34 (0x22)
Indicates that an LDAPDN or RelativeLDAPDN field (e.g., search base, target entry, ModifyDN newrdn, etc.) of a request does not conform to the required syntax or contains attribute values that do not conform to the syntax of the attribute's type.
SB_LDAP_RESULT_ALIAS_DEREFERENCING_PROBLEM
36 (0x24)
Indicates that a problem occurred while dereferencing an alias. Typically, an alias was encountered in a situation where it was not allowed or where the access was denied.
SB_LDAP_RESULT_INAPPROPRIATE_AUTHENTICATION
48 (0x30)
The server requires the client that had attempted to bind anonymously or without supplying credentials to provide some form of credentials.
SB_LDAP_RESULT_INVALID_CREDENTIALS
49 (0x31)
Indicates that the provided credentials (e.g., the user name and password) are invalid.
SB_LDAP_RESULT_INSUFFICIENT_ACCESS_RIGHTS
50 (0x32)
The client does not have sufficient access rights to perform the operation.
SB_LDAP_RESULT_BUSY
51 (0x33)
The serveris too busy to service the requested operation.
SB_LDAP_RESULT_UNAVAILABLE
52 (0x34)
Indicates that the server is shutting down or a subsystem necessary to complete the operation is offline.
SB_LDAP_RESULT_UNWILLING_TO_PERFORM
53 (0x35)
Indicates that the server is unwilling to perform the operation.
SB_LDAP_RESULT_LOOP_DETECT
54 (0x36)
The server has detected an internal loop (e.g., while dereferencing aliases or chaining an operation).
SB_LDAP_RESULT_NAMING_VIOLATION
64 (0x40)
The entry's name violates naming restrictions.
SB_LDAP_RESULT_OBJECT_CLASS_VIOLATION
65 (0x41)
The entry violates object class restrictions.
SB_LDAP_RESULT_NOT_ALLOWED_ON_NON_LEAF
66 (0x42)
Indicates that the operation is inappropriately acting upon a non-leaf entry.
SB_LDAP_RESULT_NOT_ALLOWED_ON_RDN
67 (0x43)
Indicates that the operation is inappropriately attempting to remove a value that forms the entry's relative distinguished name.
SB_LDAP_RESULT_ENTRY_ALREADY_EXISTS
68 (0x44)
Indicates that the request cannot be fulfilled (added, moved, or renamed) as the target entry already exists.
SB_LDAP_RESULT_OBJECT_CLASS_MODS_PROHIBITED
69 (0x45)
Indicates that an attempt to modify the object class(es) of an entry's 'objectClass' attribute is prohibited. For example, this code is returned when a client attempts to modify the structural object class of an entry.
SB_LDAP_RESULT_AFFECTS_MULTIPLE_DSAS
71 (0x47)
Indicates that the operation cannot be performed as it would affect multiple servers (DSAs).
SB_LDAP_RESULT_OTHER
80 (0x50)
Indicates the server has encountered an internal error.
SB_LDAP_ERROR_INTERNAL
81 (0x51)
Oops.
SB_LDAP_ERROR_WRONG_MESSAGE
82 (0x52)
Indicates that a received message has wrong format.
SB_LDAP_ERROR_BIND
83 (0x53)
An error occured during bind.
SB_LDAP_ERROR_SEARCH
84 (0x54)
Does not necessarily mean an error condition. Indicates that search has returned zero results.
SB_LDAP_ERROR_SEARCH_FILTER
85 (0x55)
Reserved for future use.
SB_LDAP_ERROR_FILTER_SEQUENCE
86 (0x56)
Reserved for future use.
SB_LDAP_ERROR_GET_RESPONSE
87 (0x57)
Inidicates that client has received a response of unknown type.
SB_LDAP_ERROR_SASL
88 (0x58)
Indicates an error during SASL authentication.
SB_LDAP_WRONG_LDAP_URL
89 (0x59)
Wrong URL provided by the client.
SB_LDAP_ERROR_DELETE
90 (0x5A)
Indicates an invalid response received from the server on the client's request to remove an entry.
SB_LDAP_ERROR_ADD
91 (0x5B)
Indicates an invalid response received from the server on the client's request to add an entry.
SB_LDAP_ERROR_MODIFY
92 (0x5C)
Indicates an invalid response received from the server on the client's request to modify an entry.