Results 1 to 1 of 1

Thread: BindAuthenticator errors on AD-specific userDnPatterns

Threaded View

  1. #1
    Join Date
    Oct 2010
    Posts
    1

    Default 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 at 03:11 PM. Reason: More information about version, etc.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •