Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-9637

Kerberos: Escape special characters in Distinguished Names used for queries in Active Directory

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • ambari-server
    • Cluster with Kerberos enabled and using an Active Directory as the KDC

    Description

      Escape special characters in Distinguished Names used for queries in Active Directory, else query (or attribute updates) will fail with an error like

      [LDAP: error code 1 - 000020D6: SvcErr: DSID-0310081B, problem 5012 (DIR_ERROR), data 0 ^@]
      

      The following characters should be escaped using a {{}}:

      • Forward Slash /
      • Comma ,
      • Backslash character
      • Pound sign (hash sign) #
      • Plus sign +
      • Less than symbol <
      • Greater than symbol >
      • Semicolon ;
      • Double quote (quotation mark) "
      • Equal sign =
      • Leading or trailing spaces

      Attachments

        1. AMBARI-9637_02.patch
          11 kB
          Robert Levas
        2. AMBARI-9637_01.patch
          10 kB
          Robert Levas

        Activity

          People

            rlevas Robert Levas
            rlevas Robert Levas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: