[
https://issues.apache.org/jira/browse/AMBARI-9637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Levas updated AMBARI-9637:
---------------------------------
Description:
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
was:
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
> 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
> Labels: kerberos
> 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)