【发布时间】:2012-08-23 04:06:30
【问题描述】:
当用户通过sAMAccountName 和password 时,我无法进行身份验证。
如果我这样做:
env.put(Context.SECURITY_PRINCIPAL, "CN="+username+",OU=Service Accounts,OU=TECH,DC=wawalab2,DC=ins");
env.put(Context.SECURITY_CREDENTIALS, password);
抛出异常:
javax.naming.AuthenticationException:[LDAP:错误代码 49 - 80090308:LdapErr:DSID-0C090334,注释:AcceptSecurityContext 错误,数据 525,vece
Note: I can use Spring LDAP framework too.
【问题讨论】:
标签: java spring ldap spring-ldap