Ldap错误代码解释
错误代码
0000208DLDAP: error code 32 - 0000208D: NameErr: DSID-03100241, problem 2001 (NO_OBJECT)
nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100241, problem 2001 (NO_OBJECT), data 0, best match of: ‘OU=XXX,OU=XXX,DC=XXX,DC=COM’]; remaining name ‘CN=XXX,OU=XXX,OU=XXX,OU=XXX
错误代码解释: DN不存在需要检查DN是否正确,检查AD域服务器该部门是否存在。
LDAP: error code 50 - 00000005: SecErr: DSID-03152C8C, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
5000:org.springframework.ldap.NoPermissionException: [LDAP: error code 50 - 00000005: SecErr: DSID-03152C8C, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0 ]; nested exception is javax.naming.NoPermissionException: [LDAP: error code 50 - 00000005: SecErr: DSID-03152C8C, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0 ]; remaining name ‘OU=XXX,OU=XXX,OU=XXX,OU=XXX’ : org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:188)
错误代码解释: 当前帐号无权限
LDAP: error code 68 - 00002071: UpdErr: DSID-031B0CF6, problem 6005 (ENTRY_EXISTS), data 0
LDAP: error code 68 - 00002071: UpdErr: DSID-031B0CF6, problem 6005 (ENTRY_EXISTS), data 0]; nested exception is javax.naming.NameAlreadyBoundException: [LDAP: error code 68 - 00002071: UpdErr: DSID-031B0CF6, problem 6005 (ENTRY_EXISTS), data 0]; remaining name ‘OU=XXXX,OU=XXXX,OU=XXXX,OU=XXXX’org.springframework.ldap.NameAlreadyBoundException: [LDAP: error code 68 - 00002071: UpdErr: DSID-031B0CF6, problem 6005 (ENTRY_EXISTS), data 0]; nested exception is javax.naming.NameAlreadyBoundException: [LDAP: error code 68 - 00002071: UpdErr: DSID-031B0CF6, problem 6005 (ENTRY_EXISTS), data 0]; remaining name ‘OU=XXXX,OU=XXXX,OU=XXXX,OU=XXXX’
错误代码解释: 当前OU已经存在