[ 
https://issues.apache.org/jira/browse/AMBARI-9637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14323058#comment-14323058
 ] 

Hudson commented on AMBARI-9637:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1781 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1781/])
AMBARI-9637. Kerberos: Escape special characters in Distinguished Names used 
for queries in Active Directory (rlevas) (rlevas: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=63b78f2e7dbc9acf560c94c128122359a5dfe61a)
* 
ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/KerberosOperationHandlerTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/ADKerberosOperationHandler.java
* 
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/KerberosOperationHandler.java
* 
ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/ADKerberosOperationHandlerTest.java


> 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
>
>         Attachments: AMBARI-9637_01.patch, AMBARI-9637_02.patch
>
>
> 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)

Reply via email to