LDAPエラーコードの意味と対処について説明します。
エラーコードシンボル
メッセージ
10進
16進
LDAP_SUCCESS
Success
0
0x00
LDAP_OPERATIONS_ERROR
Operations error
1
0x01
LDAP_PROTOCOL_ERROR
Protocol error
2
0x02
LDAP_TIMELIMIT_EXCEEDED
Timelimit exceeded
3
0x03
LDAP_SIZELIMIT_EXCEEDED
Sizelimit exceeded
4
0x04
LDAP_COMPARE_FALSE
Compare false
5
0x05
LDAP_COMPARE_TRUE
Compare true
6
0x06
LDAP_STRONG_AUTH_NOT_SUPPORTED
Strong authentication not supported
7
0x07
LDAP_STRONG_AUTH_REQUIRED
Strong authentication required
8
0x08
LDAP_PARTIAL_RESULTS
Partial results and referral received
9
0x09
LDAP_REFERRAL
Referral
10
0x0a
LDAP_ADMINLIMIT_EXCEEDED
Admin limit exceeded
11
0x0b
LDAP_UNAVAILABLE_CRITICAL_EXTENSION
Unavailable critical extension
12
0x0c
LDAP_CONFIDENTIALITY_REQUIRED
Confidentiality required
13
0x0d
LDAP_SASL_BIND_IN_PROGRESS
SASL bind in progress
14
0x0e
LDAP_NO_SUCH_ATTRIBUTE
No such attribute
16
0x10
LDAP_UNDEFINED_TYPE
Undefined attribute type
17
0x11
LDAP_INAPPROPRIATE_MATCHING
Inappropriate matching
18
0x12
LDAP_CONSTRAINT_VIOLATION
Constraint violation
19
0x13
LDAP_TYPE_OR_VALUE_EXISTS
Type or value exists
20
0x14
LDAP_INVALID_SYNTAX
Invalid syntax
21
0x15
LDAP_NO_SUCH_OBJECT
No such object
32
0x20
LDAP_ALIAS_PROBLEM
Alias problem
33
0x21
LDAP_INVALID_DN_SYNTAX
Invalid DN syntax
34
0x22
LDAP_IS_LEAF
Object is a leaf
35
0x23
LDAP_ALIAS_DEREF_PROBLEM
Alias dereferencing problem
36
0x24
LDAP_INAPPROPRIATE_AUTH
Inappropriate authentication
48
0x30
LDAP_INVALID_CREDENTIALS
Invalid credentials
49
0x31
LDAP_INSUFFICIENT_ACCESS
Insufficient access
50
0x32
LDAP_BUSY
DSA is busy
51
0x33
LDAP_UNAVAILABLE
DSA is unavailable
52
0x34
LDAP_UNWILLING_TO_PERFORM
DSA is unwilling to perform
53
0x35
LDAP_LOOP_DETECT
Loop detected
54
0x36
LDAP_NAMING_VIOLATION
Naming violation
64
0x40
LDAP_OBJECT_CLASS_VIOLATION
Object class violation
65
0x41
LDAP_NOT_ALLOWED_ON_NONLEAF
Operation not allowed on nonleaf
66
0x42
LDAP_NOT_ALLOWED_ON_RDN
Operation not allowed on RDN
67
0x43
LDAP_ALREADY_EXISTS
Already exists
68
0x44
LDAP_NO_OBJECT_CLASS_MODS
Cannot modify object class
69
0x45
LDAP_RESULTS_TOO_LARGE
Results too large
70
0x46
LDAP_AFFECTS_MULTIPLE_DSAS
Affects multiple DSAs
71
0x47
LDAP_OTHER
Unknown error
80
0x50
LDAP_SERVER_DOWN
Can't contact LDAP server
81
0x51
LDAP_LOCAL_ERROR
Local error
82
0x52
LDAP_ENCODING_ERROR
Encoding error
83
0x53
LDAP_DECODING_ERROR
Decoding error
84
0x54
LDAP_TIMEOUT
Timed out
85
0x55
LDAP_AUTH_UNKNOWN
Unknown authentication method
86
0x56
LDAP_FILTER_ERROR
Bad search filter
87
0x57
LDAP_USER_CANCELLED
User cancelled operation
88
0x58
LDAP_PARAM_ERROR
Bad parameter to an ldap routine
89
0x59
LDAP_NO_MEMORY
Out of memory
90
0x5a
LDAP_CONNECT_ERROR
Can't connect to the LDAP server
91
0x5b
LDAP_NOT_SUPPORTED
Not supported
92
0x5c
LDAP_CONTROL_NOT_FOUND
Control not found
93
0x5d
LDAP_NO_RESULTS_RETURNED
No results returned
94
0x5e
LDAP_MORE_RESULTS_TO_RETURN
More result to return
95
0x5f
LDAP_CLIENT_LOOP
Client loop
96
0x60
LDAP_REFERRAL_LIMIT_EXCEEDED
Referral limit exceeded
97
0x61