3
当用户尝试登录我的Web应用程序时,发生LDAP错误code 49 data 525
,这意味着username not found
。 LDAP ErrorsLDAP错误“未找到用户名”
我不知道对我的LDAP服务器进行身份验证的资源帐户是否有错误的用户名,或者是否是尝试登录到我的系统的用户。
我该如何解决这个问题?
> org.springframework.ldap.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903AA, comment:
> AcceptSecurityContext error, data 525, v1772^@]; nested exception is
> javax.naming.AuthenticationException: [LDAP: error code 49 - 800\
> 90308: LdapErr: DSID-0C0903AA, comment: AcceptSecurityContext error, data 525, v1772^@]
> at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:182)
> at org.springframework.ldap.core.support.AbstractContextSource.createContext(AbstractContextSource.java:266)
> at org.springframework.ldap.core.support.AbstractContextSource.getContext(AbstractContextSource.java:106)
> at org.springframework.ldap.core.support.AbstractContextSource.getReadOnlyContext(AbstractContextSource.java:125)
> at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:287)
> at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:361)
> at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:215)