"invalid escape sequence" exception reported if LDAP connection URL also includes DC or CN information

XMLWordPrintable

    • Type: Bug
    • Resolution: Obsolete
    • Priority: Low
    • 4.0.0
    • Affects Version/s: 2.10.2
    • Component/s: None

      If the LDAP connection URL is something like:

      ldap://ldap.url.com:389/DC=atlassian,DC=com
      

      and base DN is:

      OU=Employees,OU=People
      

      The connection will fail with:

      2013-02-12 11:01:15,231 ERROR [btpool0-25 ] fisheye DefaultUserManager-getOrImportUser - Could not authenticate user "atlassian\ldap.user1"
      com.cenqua.fisheye.user.AuthenticationException: LDAP: could not list users using (&(sAMAccountName=atlassian\ldap.user1)(!(userAccountControl:1.2.840.113556.1.4.803:=2))) on OU=Employees,OU=People (authenticated)
      
      Caused by: javax.naming.directory.InvalidSearchFilterException: invalid escape sequence: [B@182623a0; remaining name 'OU=Employees,OU=People'
      

      Changing the connection details as follows, helps in resolving the issue:
      LDAP URL:

      ldap://ldap.url.com:389/
      

      Base DN:

      OU=Employees,OU=People,DC=atlassian,DC=com
      

            Assignee:
            Unassigned
            Reporter:
            Gurleen Anand
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: