天天看點

LDAP error codes

Code

(decimal)

Error code (string)

Description

LDAP_SUCCESS

Success

1

LDAP_OPERATIONS_ERROR

Operations error

2

LDAP_PROTOCOL_ERROR

Protocol error

3

LDAP_TIMELIMIT_EXCEEDED

Timelimit exceeded

4

LDAP_SIZELIMIT_EXCEEDED

Sizelimit exceeded

5

LDAP_COMPARE_FALSE

Compare false

6

LDAP_COMPARE_TRUE

Compare true

7

LDAP_STRONG_AUTH_NOT_SUPPORTED

Strong authentication not supported

8

LDAP_STRONG_AUTH_REQUIRED

Strong authentication required

9

LDAP_PARTIAL_RESULTS

Partial results

16

LDAP_NO_SUCH_ATTRIBUTE

No such attribute

17

LDAP_UNDEFINED_TYPE

Undefined attribute type

18

LDAP_INAPPROPRIATE_MATCHING

Inappropriate matching

19

LDAP_CONSTRAINT_VIOLATION

Constraint violation

20

LDAP_TYPE_OR_VALUE_EXISTS

Type or value exists

21

LDAP_INVALID_SYNTAX

Invalid syntax

32

LDAP_NO_SUCH_OBJECT

No such object

33

LDAP_ALIAS_PROBLEM

Alias problem

34

LDAP_INVALID_DN_SYNTAX

Invalid DN syntax

35

LDAP_IS_LEAF

Object is a leaf

36

LDAP_ALIAS_DEREF_PROBLEM

Alias dereferencing problem

48

LDAP_INAPPROPRIATE_AUTH

Inappropriate authentication

49

LDAP_INVALID_CREDENTIALS

Invalid credentials

50

LDAP_INSUFFICIENT_ACCESS

Insufficient access

51

LDAP_BUSY

DSA is busy

52

LDAP_UNAVAILABLE

DSA is unavailable

53

LDAP_UNWILLING_TO_PERFORM

DSA is unwilling to perform

54

LDAP_LOOP_DETECT

Loop detected

64

LDAP_NAMING_VIOLATION

Naming violation

65

LDAP_OBJECT_CLASS_VIOLATION

Object class violation

66

LDAP_NOT_ALLOWED_ON_NONLEAF

Operation not allowed on nonleaf

67

LDAP_NOT_ALLOWED_ON_RDN

Operation not allowed on RDN

68

LDAP_ALREADY_EXISTS

Already exists

69

LDAP_NO_OBJECT_CLASS_MODS

Cannot modify object class

70

LDAP_RESULTS_TOO_LARGE

Results too large

80

LDAP_OTHER

Unknown error

81

LDAP_SERVER_DOWN

Can't contact LDAP server

82

LDAP_LOCAL_ERROR

Local error

83

LDAP_ENCODING_ERROR

Encoding error

84

LDAP_DECODING_ERROR

Decoding error

85

LDAP_TIMEOUT

Timed out

86

LDAP_AUTH_UNKNOWN

Unknown authentication method

87

LDAP_FILTER_ERROR

Bad search filter

88

LDAP_USER_CANCELLED

User cancelled operation

89

LDAP_PARAM_ERROR

Bad parameter to an ldap routine

90

LDAP_NO_MEMORY

Out of memory

繼續閱讀