Announcement Announcement Module
Collapse
No announcement yet.
BindAuthenticator errors on AD-specific userDnPatterns Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • BindAuthenticator errors on AD-specific userDnPatterns

    I'm trying to authenticate using LDAP against an AD server. I'm trying to set the userDnPatterns as described here: https://jira.springframework.org/browse/SEC-130

    So in my config settings, I have a userDnPatterns set simply to '{0}'. But I get the following error when trying to authenticate that way:

    Code:
    DEBUG springsecurity.RequestHolderAuthenticationFilter  - Authentication request failed: org.springframework.security.authentication.AuthenticationServiceException: Failed to parse DN; nested exception is org.springframework.ldap.core.ParseException: Encountered "<EOF>" at line 1, column 8.
    Was expecting:
        <SPACED_EQUALS> ...
    I have also tried setting userDnPatterns to 'mydomain\{0}' and '{0}@mydomain', but get similar DN parsing errors.

    Does anyone know if the solution outlined in the ticket above actually works, or is there a different work-around for making this work?

    I'm using Spring Security 3.0.3.
    Last edited by swede16; Oct 26th, 2010, 04:11 PM. Reason: More information about version, etc.
Working...
X