Announcement Announcement Module
Collapse
No announcement yet.
LDAP ad.ActiveDirectoryLdapAuthentication failed for some users but not others Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • LDAP ad.ActiveDirectoryLdapAuthentication failed for some users but not others

    <bean id="ldapActiveDirectoryAuthProvider" class="org.springframework.security.ldap.authentic ation.ad.ActiveDirectoryLdapAuthenticationProvider ">
    <constructor-arg value="mydomain" />
    <constructor-arg value="myurl" />
    <property name="useAuthenticationRequestCredentials" value="true" />
    <property name="convertSubErrorCodesToExceptions" value="true"/>
    </bean>

    This configuration works for 4 out of 6 valid users (all under the same group). How do I go about debugging this issue? Thanks!



    The following error was thrown for a valid user:
    Authentication request failed: org.springframework.security.authentication.BadCre dentialsException: Bad credentials
    2013-04-30 16:04:34,625 [http-bio-9080-exec-2] DEBUG org.springframework.security.web.authentication.Us ernamePasswordAuthenticationFilter - Updated SecurityContextHolder to contain null Authentication

    When I tried entering an invalid user, I got:
    Active Directory authentication failed: User was not found in directory
    Last edited by thuxua; Apr 30th, 2013, 07:08 PM.
Working...
X