Announcement Announcement Module
No announcement yet.
BindAuthenticator errors on AD-specific userDnPatterns Page Title Module
Move Remove Collapse
Conversation Detail Module
  • 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:

    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:

    DEBUG springsecurity.RequestHolderAuthenticationFilter  - Authentication request failed: 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, 03:11 PM. Reason: More information about version, etc.