You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Robert Levas (JIRA)" <ji...@apache.org> on 2015/02/13 21:43:11 UTC

[jira] [Created] (AMBARI-9637) Kerberos: Escape special characters in Distinguished Names used for queries in Active Directory

Robert Levas created AMBARI-9637:
------------------------------------

             Summary: Kerberos: Escape special characters in Distinguished Names used for queries in Active Directory
                 Key: AMBARI-9637
                 URL: https://issues.apache.org/jira/browse/AMBARI-9637
             Project: Ambari
          Issue Type: Task
          Components: ambari-server
    Affects Versions: 2.0.0
         Environment: Cluster with Kerberos enabled and using an Active Directory as the KDC
            Reporter: Robert Levas
            Assignee: Robert Levas
            Priority: Blocker
             Fix For: 2.0.0


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

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

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




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)