Java 用户可以';t使用LDAP身份验证登录web服务

Java 用户可以';t使用LDAP身份验证登录web服务,java,spring-security,ldap,Java,Spring Security,Ldap,周末过后(DST变更),我工作的网站的用户不能再登录。USR不断获取登录弹出窗口以输入其凭据,在ldap的错误日志中,我只能看到以下错误 [Tue Mar 29 20:21:04.296466 2016] [auth_basic:error] [pid 5324] [client <<ip>>:58258] AH01617: user username: authentication failure for "/troubleshooting-webapp/": Pass

周末过后(DST变更),我工作的网站的用户不能再登录。USR不断获取登录弹出窗口以输入其凭据,在ldap的
错误日志中,我只能看到以下错误

[Tue Mar 29 20:21:04.296466 2016] [auth_basic:error] [pid 5324] [client <<ip>>:58258] AH01617: user username: authentication failure for "/troubleshooting-webapp/": Password Mismatch
我一直在玩弄一些参数,奇怪的是,DN绑定到什么并不重要。不管它是否存在,服务器都会启动,错误会出现在日志中

此错误是此LDAP服务器独有的。当我切换到集成服务器的LDAP时,一切都正常工作


关于从现在开始从何处开始故障排除,有什么想法吗?

我还没有找到这个问题的原因,但是重新安装ApacheDS服务器解决了这个问题

<Location "/troubleshooting-webapp">                                                                                      
  AuthType Basic                                                                                                          
  AuthBasicProvider ldap                                                                                                  
  AuthName "Web Site DEV: Login with User ID "                                                                    
  AuthLDAPURL "ldap://127.0.0.1:10389/ou=people,dc=company,dc=com?uid?sub?(objectClass=*)"                                
  AuthLDAPBindDN        "uid=admin,ou=system"                                                                             
  AuthLDAPBindPassword  "adminpwd"                                                                                         
  Require valid-user                                                                                                      
</Location>                                                                                                               
<bean id="contextSource"
    class="org.springframework.security.ldap.DefaultSpringSecurityContextSource">
    <constructor-arg value="${prop:troubleshooting.ldap.server.path}" />
    <property name="userDn" value="${prop:troubleshooting.ldap.server.bindDN}" />
    <property name="password" value="${prop:troubleshooting.ldap.server.bindPwd}" />
</bean>
<bean id="contextSourceGroup"
    class="org.springframework.security.ldap.DefaultSpringSecurityContextSource">
    <constructor-arg value="${prop:troubleshooting.ldap.server.pathGroup}" />
    <property name="anonymousReadOnly" value="${prop:troubleshooting.ldap.server.anonymous}" />
    <property name="userDn" value="${prop:troubleshooting.ldap.server.bindDN}" />
    <property name="password" value="${prop:troubleshooting.ldap.server.bindPwd}" />
</bean>
troubleshooting.ldap.server.path=ldap://ldap.server.url:10389/dc=company,dc=com
troubleshooting.ldap.server.pathGroup=ldap://ldap.server.url:10389/dc=company,dc=com
troubleshooting.ldap.server.anonymous=true
troubleshooting.ldap.server.bindDN=uid=admin,ou=system
troubleshooting.ldap.server.bindPwd=adminpwd
troubleshooting.ldap.server.searchBase=ou=people
troubleshooting.ldap.server.groupBase=ou=groups