Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-13470

LDAP authentication fail when slash "/" exist in DN

XMLWordPrintable

      JIRA LDAP-based password checking fails if the DN contains a slash:

      28-Aug-2007 13:22:55 com.opensymphony.user.provider.ldap.LDAPCredentialsProvider authenticateSEVERE: Initial connect and search successful, but second phase connection to LDAP as '"CN=Tester,OU=Central/East Europe,OU=User Accounts,OU=London,dc=sample,dc=com' failed.javax.naming.InvalidNameException: "CN=Tester,OU=Central/East Europe,OU=User Accounts,OU=London,dc=sample,dc=com: close quote appears before end of component at javax.naming.NameImpl.extractComp(NameImpl.java:129) at javax.naming.NameImpl.<init>(NameImpl.java:267) at javax.naming.CompositeName.<init>(CompositeName.java:214) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)

              mhenderson Marty Henderson (Inactive)
              lean.zhenyueh Zhen Yueh, Lean [Atlassian]
              Votes:
              11 Vote for this issue
              Watchers:
              22 Start watching this issue

                Created:
                Updated:
                Resolved: