Table 21. General return codes
Dec value
Value
Hex value
Brief description
Detailed description
00 |
LDAP_SUCCESS |
00 |
Success |
The request was successful. |
00 |
LDAP_OPERATIONS_ERROR |
01 |
Operations error |
An operations error occurred. |
02 |
LDAP_PROTOCOL_ERROR |
02 |
Protocol error |
A protocol violation was detected. |
03 |
LDAP_TIMELIMIT_EXCEEDED |
03 |
Time limit exceeded |
An LDAP time limit was exceeded. |
04 |
LDAP_SIZELIMIT_EXCEEDED |
04 |
Size limit exceeded |
An LDAP size limit was exceeded. |
05 |
LDAP_COMPARE_FALSE |
05 |
Compare false |
A compare operation returned false. |
06 |
LDAP_COMPARE_TRUE |
06 |
Compare true |
A compare operation returned true. |
07 |
LDAP_STRONG_AUTH_NOT_SUPPORTED |
07 |
Strong authentication not supported |
The LDAP server does not support strong authentication. |
08 |
LDAP_STRONG_AUTH_REQUIRED |
08 |
Strong authentication required |
Strong authentication is required for the operation. |
09 |
LDAP_PARTIAL_RESULTS |
09 |
Partial results and referral received |
Partial results only returned. |
10 |
LDAP_REFERRAL |
0A |
Referral returned |
Referral returned. |
11 |
LDAP_ADMIN_LIMIT_EXCEEDED |
0B |
Administration limit exceeded |
Administration limit exceeded. |
12 |
LDAP_UNAVAILABLE_CRITICAL_EXTENSION |
0C |
Critical extension not supported |
Critical extension is not supported. |
13 |
LDAP_CONFIDENTIALITY_REQUIRED |
0D |
Confidentiality is required |
Confidentiality is required. |
14 |
LDAP_SASLBIND_IN_PROGRESS |
0E |
SASL bind in progress |
An SASL bind is in progress. |
16 |
LDAP_NO_SUCH_ATTRIBUTE |
10 |
No such attribute |
The attribute type specified does not exist in the entry. |
17 |
LDAP_UNDEFINED_TYPE |
11 |
Undefined attribute type |
The attribute type specified is not valid. |
18 |
LDAP_INAPPROPRIATE_MATCHING |
12 |
Inappropriate matching |
Filter type not supported for the specified attribute. |
19 |
LDAP_CONSTRAINT_VIOLATION |
13 |
Constraint violation |
An attribute value specified violates some constraint (for example, a postal address has too many lines, or a line that is too long). |
20 |
LDAP_TYPE_OR_VALUE_EXISTS |
14 |
Type or value exists |
An attribute type or attribute value specified already exists in the entry. |
21 |
LDAP_INVALID_SYNTAX |
15 |
Invalid syntax |
An attribute value that is not valid was specified. |
32 |
LDAP_NO_SUCH_OBJECT |
20 |
No such object |
The specified object does not exist in the directory. |
33 |
LDAP_ALIAS_PROBLEM |
21 |
Alias problem |
An alias in the directory points to a nonexistent entry. |
34 |
LDAP_INVALID_DN_SYNTAX |
22 |
Invalid DN syntax |
A DN that is syntactically not valid was specified. |
35 |
LDAP_IS_LEAF |
23 |
Object is a leaf |
The object specified is a leaf. |
36 |
LDAP_ALIAS_DEREF_PROBLEM |
24 |
Alias dereferencing problem |
A problem was encountered when dereferencing an alias. |
48 |
LDAP_INAPPROPRIATE_AUTH |
30 |
Inappropriate authentication |
Inappropriate authentication was specified (for example, LDAP_AUTH_SIMPLE was specified and the entry does not have a userPassword attribute). |
49 |
LDAP_INVALID_CREDENTIALS |
31 |
Invalid credentials |
Invalid credentials were presented (for example, the wrong password). |
50 |
LDAP_INSUFFICIENT_ACCESS |
32 |
Insufficient access |
The user has insufficient access to perform the operation. |
51 |
LDAP_BUSY |
33 |
DSA is busy |
The DSA is busy. |
52 |
LDAP_UNAVAILABLE |
34 |
DSA is unavailable |
The DSA is unavailable. |
53 |
LDAP_UNWILLING_TO_PERFORM |
35 |
DSA is unwilling to perform |
The DSA is unwilling to perform the operation. |
54 |
LDAP_LOOP_DETECT |
36 |
Loop detected |
A loop was detected. |
64 |
LDAP_NAMING_VIOLATION |
40 |
Naming violation |
A naming violation occurred. |
65 |
LDAP_OBJECT_CLASS_VIOLATION |
41 |
Object class violation |
An object class violation occurred (for example, a "required" attribute was missing from the entry). |
66 |
LDAP_NOT_ALLOWED_ON_NONLEAF |
42 |
Operation not allowed on nonleaf |
The operation is not allowed on a nonleaf object. |
67 |
LDAP_NOT_ALLOWED_ON_RDN |
43 |
Operation not allowed on RDN |
The operation is not allowed on an RDN. |
68 |
LDAP_ALREADY_EXISTS |
44 |
Already exists |
The entry already exists. |
69 |
LDAP_NO_OBJECT_CLASS_MODS |
45 |
Cannot modify object class |
Object class modifications are not allowed. |
70 |
LDAP_RESULTS_TOO_LARGE |
46 |
Results too large |
Results too large. |
71 |
LDAP_AFFECTS_MULTIPLE_DSAS |
47 |
Affects multiple DSAs |
Affects multiple DSAs. |
80 |
LDAP_OTHER |
50 |
Unknown error |
An unknown error occurred. |
81 |
LDAP_SERVER_DOWN |
51 |
Can't contact LDAP server |
The LDAP library cannot contact the LDAP server. |
82 |
LDAP_LOCAL_ERROR |
52 |
Local error |
Some local error occurred. This is usually a failed memory allocation. |
83 |
LDAP_ENCODING_ERROR |
53 |
Encoding error |
An error was encountered encoding parameters to send to the LDAP server. |
84 |
LDAP_DECODING_ERROR |
54 |
Decoding error |
An error was encountered decoding a result from the LDAP server. |
85 |
LDAP_TIMEOUT |
55 |
Timed out |
A time limit was exceeded while waiting for a result. |
86 |
LDAP_AUTH_UNKNOWN |
56 |
Unknown authentication method |
The authentication method specified on a bind operation is not known. |
87 |
LDAP_FILTER_ERROR |
57 |
Bad search filter |
An invalid filter was supplied to ldap_search (for example, unbalanced parentheses). |
88 |
LDAP_USER_CANCELLED |
58 |
User cancelled operation |
The user cancelled the operation. |
89 |
LDAP_PARAM_ERROR |
59 |
Bad parameter to an LDAP routine |
An LDAP routine was called with a bad parameter (for example, a NULL ld pointer, etc.). |
90 |
LDAP_NO_MEMORY |
5A |
Out of memory |
A memory allocation (for example malloc) call failed in an LDAP library routine. |
91 |
LDAP_CONNECT_ERROR |
5B |
Connection error |
Connection error. |
92 |
LDAP_NOT_SUPPORTED |
5C |
Not supported |
Not supported. |
93 |
LDAP_CONTROL_NOT_FOUND |
5D |
Control not found |
Control not found. |
94 |
LDAP_NO_RESULTS_RETURNED |
5E |
No results returned |
No results returned. |
95 |
LDAP_MORE_RESULTS_TO_RETURN |
5F |
More results to return |
More results to return. |
96 |
LDAP_URL_ERR_NOTLDAP |
60 |
URL doesn't begin with ldap:// |
The URL does not begin with ldap://. |
97 |
LDAP_URL_ERR_NODN |
61 |
URL has no DN (required) |
The URL does not have a DN (required). |
98 |
LDAP_URL_ERR_BADSCOPE |
62 |
URL scope string is invalid |
The URL scope string is not valid. |
99 |
LDAP_URL_ERR_MEM |
63 |
Can't allocate memory space |
Cannot allocate memory space. |
100 |
LDAP_CLIENT_LOOP |
64 |
Client loop |
Client loop. |
101 |
LDAP_REFERRAL_LIMIT_EXCEEDED |
65 |
Referral limit exceeded |
Referral limit exceeded. |
112 |
LDAP_SSL_ALREADY_INITIALIZED |
70 |
ldap_ssl_client_init successfully called previously in this process |
The ldap_ssl_client_init was successfully called previously in this process. |
113 |
LDAP_SSL_INITIALIZE_FAILED |
71 |
Initialization call failed |
SSL Initialization call failed. |
114 |
LDAP_SSL_CLIENT_INIT_NOT_CALLED |
72 |
Must call ldap_ssl_client_init before attempting to use SSL connection |
Must call ldap_ssl_client_init before attempting to use SSL connection. |
115 |
LDAP_SSL_PARAM_ERROR |
73 |
Invalid SSL parameter previously specified |
An SSL parameter that was not valid was previously specified. |
116 |
LDAP_SSL_HANDSHAKE_FAILED |
74 |
Failed to connect to SSL server |
Failed to connect to SSL server. |
117 |
LDAP_SSL_GET_CIPHER_FAILED |
75 |
Not used |
Deprecated. |
118 |
LDAP_SSL_NOT_AVAILABLE |
76 |
SSL library cannot be located |
Ensure that GSKit has been installed. |
128 |
LDAP_NO_EXPLICIT_OWNER |
80 |
No explicit owner found |
No explicit owner was found. |
129 |
LDAP_NO_LOCK |
81 |
Could not obtain lock |
Client library was not able to lock a required resource. |
In addition, the following DNS-related error codes are defined in the ldap.h file:
相关推荐
**LDAP_OPERATIONS_ERROR (1)** **描述:** 发生了一个通用的操作错误。 **处理方式:** 检查操作是否符合LDAP规范,确保提供的参数是正确的。 ##### 3. **LDAP_PROTOCOL_ERROR (2)** **描述:** 客户端发送的...
3. **LDAP_PROTOCOL_ERROR (2)**:协议错误,可能是由于客户端发送的数据不符合LDAP协议规范。 4. **LDAP_TIMELIMIT_EXCEEDED (3)**:时间限制超出,搜索操作超过了设定的时间限制。 5. **LDAP_SIZELIMIT_EXCEEDED ...
### LDAP提示Object Class Violation详解 #### 一、问题背景 在LDAP(Lightweight Directory Access Protocol,轻量目录访问协议)的使用过程中,有时会遇到一个常见的错误提示:“object class violation”。这一...
$ldap->error; ``` 3. 搜索操作:使用`search`方法可以在LDAP目录中查找特定的数据。你可以指定搜索基DN、过滤器和要返回的属性。例如,查找所有属于'ou=Users,dc=example,dc=com'组织单元的用户: ```perl my $...
.Now uses the Mac OS X LDAP framework rather than compiled OpenLDAP code. It believe that the version is OpenLDAP 2.2.19. Operating System Requirements: This product is designed to run on the ...
5. ssl连接错误,errorCode:5。 解决方案:使用收发邮件检测工具自动定位问题,排查计算机网络环境、代理设置、杀毒软件设置等原因,并检查服务器、端口和SSL安全连接是否正确设置。 6. 不知道这样的主机。 解决...
javax.naming.ldap 提供对 LDAPv3 扩展操作和控件的支持。 javax.naming.spi 提供一些方法来动态地插入对通过 javax.naming 和相关包访问命名和目录服务的支持。 javax.net 提供用于网络应用程序的类。 javax.net....
CAM-AAA-0026 The function call to ‘AS_AccManProcessInitialize’ failed with error code: ‘-113’”。 **运行环境** - 操作系统:AIX 5.3.04 - Java开发工具包(JDK):1.5 - 数据库:Oracle 10g **解决方法...
- **API与协议**:比如LDAP应用程序接口,用于目录服务访问。 - **API与设备接口**:PC BIOS调用接口,允许操作系统与硬件交互。 - **Web API**:这类API在互联网应用中非常普遍,如Google地图API、新浪微博API、...
error_reporting ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED ; Development Value: E_ALL ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT ; html_errors ; Default Value: On ; ...
11.3. Writing the Code 11.3.1. The @RestController and @RequestMapping Annotations 11.3.2. The @EnableAutoConfiguration Annotation 11.3.3. The “main” Method 11.4. Running the Example 11.5. Creating ...
jmeter.save.saveservice.response_data.on_error=true jmeter.save.saveservice.response_message=true jmeter.save.saveservice.successful=true jmeter.save.saveservice.thread_name=true jmeter.save.save...
- **LDAP Editor**:讲解了LDAP编辑器的用法。 - **Oracle Homes**:解释了Oracle Homes的概念及其管理方法。 - **TNSNames Editor**:阐述了TNSNames编辑器的功能及使用方法。 #### 八、教程与调试 - **Tutorials...
ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined ``` - 创建软链接:`sudo a2ensite yoursite.conf` #### 五、总结 通过上述步骤,我们成功地在 Ubuntu 系统上搭建了...
- **500 Internal Server Error**:服务器内部错误。 - **501 Not Implemented**:服务器不支持请求的方法。 - **502 Bad Gateway**:服务器作为网关或代理工作时收到了无效的响应。 25. **发送参数的意义**:在...
Using the Code from This Book Audience Organization Further Reading Conventions Used in This Book How to Contact Us Safari® Enabled Acknowledgments Chapter 1. Text Introduction ...