Active Directory LDAP Errors
Here is a list of Active Directory errors:
525 - user not found
52e - invalid credentials
530 - not permitted to logon at this time
532 - password expired
533 - account disabled
701 - account expired
773 - user must reset password
LDAP: error code 49
Something I’ve copied from here: http://forum.java.sun.com/thread.jspa?messageID=4227692
Just to find it easily:
Common Active Directory LDAP bind errors:
- 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 525, v893
HEX: 0×525 - user not found
DEC: 1317 - ERROR_NO_SUCH_USER (The specified account does not exist.)
NOTE: Returns when username is invalid.
- 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 52e, v893
HEX: 0×52e - invalid credentials
DEC: 1326 - ERROR_LOGON_FAILURE (Logon failure: unknown user name or bad password.)
NOTE: Returns when username is valid but password/credential is invalid. Will prevent most other errors from being displayed as noted.
- 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 530, v893
HEX: 0×530 - not permitted to logon at this time
DEC: 1328 - ERROR_INVALID_LOGON_HOURS (Logon failure: account logon time restriction violation.)
NOTE: Returns only when presented with valid username and password/credential.
- 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 531, v893
HEX: 0×531 - not permitted to logon from this workstation
DEC: 1329 - ERROR_INVALID_WORKSTATION (Logon failure: user not allowed to log on to this computer.)
LDAP[userWorkstations: <multivalued list of workstation names>]
NOTE: Returns only when presented with valid username and password/credential.
- 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 532, v893
HEX: 0×532 - password expired
DEC: 1330 - ERROR_PASSWORD_EXPIRED (Logon failure: the specified account password has expired.)
LDAP[userAccountControl: <bitmask=0x00800000>] - PASSWORDEXPIRED
NOTE: Returns only when presented with valid username and password/credential.
- 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 533, v893
HEX: 0×533 - account disabled
DEC: 1331 - ERROR_ACCOUNT_DISABLED (Logon failure: account currently disabled.)
LDAP[userAccountControl: <bitmask=0x00000002>] - ACCOUNTDISABLE
NOTE: Returns only when presented with valid username and password/credential.
- 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 701, v893
HEX: 0×701 - account expired
DEC: 1793 - ERROR_ACCOUNT_EXPIRED (The user’s account has expired.)
LDAP[accountExpires: <value of -1, 0, or extemely large value indicates account will not expire>] - ACCOUNTEXPIRED
NOTE: Returns only when presented with valid username and password/credential.
- 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 773, v893
HEX: 0×773 - user must reset password
DEC: 1907 - ERROR_PASSWORD_MUST_CHANGE (The user’s password must be changed before logging on the first time.)
LDAP[pwdLastSet: <value of 0 indicates admin-required password change>] - MUST_CHANGE_PASSWD
NOTE: Returns only when presented with valid username and password/credential.
- 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 775, v893
HEX: 0×775 - account locked out
DEC: 1909 - ERROR_ACCOUNT_LOCKED_OUT (The referenced account is currently locked out and may not be logged on to.)
LDAP[userAccountControl: <bitmask=0x00000010>] - LOCKOUT
NOTE: Returns even if invalid password is presented.
sometime user report that, they typed the correct password, but still fail to login. server log is "HEX: 0×532 - password expired", it is strange and need to investigate.
分享到:
相关推荐
**LDAP_OPERATIONS_ERROR (1)** **描述:** 发生了一个通用的操作错误。 **处理方式:** 检查操作是否符合LDAP规范,确保提供的参数是正确的。 ##### 3. **LDAP_PROTOCOL_ERROR (2)** **描述:** 客户端发送的...
ERROR<5895>-Schema-conn=-1op=-1msgId=-1-User error: Entry "cn=schema", single-valued attribute "nsSchemaCSN" has multiple values ``` 此错误提示表明,在尝试处理“cn=schema”的条目时,遇到了问题。...
这个是集成到python中的ldap,安装过程很简单,只要一路next就可以
3. **LDAP_PROTOCOL_ERROR (2)**:协议错误,可能是由于客户端发送的数据不符合LDAP协议规范。 4. **LDAP_TIMELIMIT_EXCEEDED (3)**:时间限制超出,搜索操作超过了设定的时间限制。 5. **LDAP_SIZELIMIT_EXCEEDED ...
except ldap.LDAPError as error_message: print(error_message) ``` - **初始化连接**:使用`ldap.initialize()`方法创建LDAP连接对象,并设置协议版本为3。 - **简单绑定**:通过`simple_bind_s()`方法以管理员...
公司内部使用Django作为后端服务框架的Web服务,当需要使用公司内部搭建的Ldap 或者 Windows 的AD服务器作为Web登录认证系统时,就需要这个Django-auth-ldap第三方插件 插件介绍 Django-auth-ldap是一个Django身份...
结果可以通过`ldap_result2error()`, `ldap_first_entry()`, `ldap_next_entry()`等函数解析。 4. **关闭连接**:完成操作后,使用`ldap_unbind()`关闭连接。 操作既可以同步执行(如`ldap_search_s()`),也可以...
$ldap->error; ``` 3. 搜索操作:使用`search`方法可以在LDAP目录中查找特定的数据。你可以指定搜索基DN、过滤器和要返回的属性。例如,查找所有属于'ou=Users,dc=example,dc=com'组织单元的用户: ```perl my $...
LDAP操作可能会失败,因此需要使用`ldap_errno()`和`ldap_error()`检查错误状态并处理异常。 8. **安全性和性能优化** - 使用SSL/TLS加密连接(通过设置`ldaps://`前缀或`ldap_start_tls()`)以提高安全性。 - ...
Python LDAP库是Python编程语言中用于与 Lightweight Directory Access Protocol (LDAP) 服务器进行交互的工具。这个`python_ldap-3.4.4-cp38-cp38-win_amd64.whl`文件是一个预编译的Python轮子(Wheel)包,特别为...
### 基于LDAP的校园网统一身份认证系统设计 #### 概述 随着校园网基础设施的持续升级和各类基于校园网的应用系统迅速发展,统一身份认证系统的重要性日益凸显。传统上,各应用系统分别拥有独立的身份认证模块,...
5. **错误处理**:封装类通常会包含一个错误处理机制,如`getError()`函数,用于获取上一步操作的错误信息。 在**VC++**环境中,使用CLDAP类需要包含相关的头文件(如`Ldap.h`),并链接相应的库。例如,项目设置中...
用于 nginx 的 LDAP 身份验证模块nginx的LDAP模块,支持针对多个LDAP服务器的身份验证。如何安装FreeBSD cd /usr/ports/www/nginx && make config install clean 检查 HTTP_AUTH_LDAP 选项 [*] HTTP_AUTH_LDAP 3rd ...
5. **错误处理**:在与LDAP服务器交互时,需要捕获并处理可能的错误,例如使用ldap_error()检查错误代码,或者使用ldap_errno()获取错误编号。 6. **安全考虑**:在实际部署中,必须确保使用安全的连接(如LDAPS或...
python_ldap-3.2.0-cp35-cp35m-win32
离线安装包,测试可用
离线安装包,测试可用。使用 pip install [完整包名] 进行安装
在执行查询的过程中,使用了事件监听机制来处理查询响应,事件包括:`searchEntry`(搜索到条目)、`searchReference`(搜索参考)、`error`(错误处理)和`end`(查询结束)。 - **结果处理** 在查询结果事件响应...
Please use an LDAP v3.0 toolkit. 解决方案: httpd-2.2.4\srclib\apr-util\include\apr_ldap.h 96行“#error Support for LDAP v2.0 toolkits has been removed from apr-util. Please use an LDAP v3.0...
- **LOGIN_PAM_AUTHENTICATION_ERROR** 和 **LOGIN_PAM_ERROR**: PAM(可插拔身份验证模块)相关的认证错误,通常涉及外部认证服务如LDAP、radius等。 以上日志分析不仅有助于理解Juniper路由器的运行状态,还能够...