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

Hudson commented on AMBARI-9209:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #1554 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1554/])
AMBARI-9209. Add the ability to append a random value to values in LDAP 
attributes when generating principals in Active Directory (rlevas) (rlevas: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ec86b1b4f882cfbff3b123a60aec875524030233)
* 
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
* 
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/DeconstructedPrincipal.java
* 
ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/DeconstructedPrincipalTest.java
* 
ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/configuration/kerberos-env.xml


> Add the ability to append a random value to values in LDAP attributes when 
> generating principals in Active Directory
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-9209
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9209
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>              Labels: active_directory, kerberos
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9209_01.patch
>
>
> Add ability to append a random value to values in LDAP attributes when 
> generating principals in Active Directory.
> For example the {{cn}} and {{sAMAccountName}} attributes must be unique.  In 
> some caes the {{cn}} is not allowed to have {{/}} characters and in all cases 
> the {{sAMAccountName}} is not allow to have {{/}} characters. Therefore to 
> generate values for these attributes, the _instance_ part of the principal 
> needs to be stripped off and a random string needs to be appended. 
> This can be seen where the principal is 
> {{nn/[email protected]}}.  The {{cn}} would typically be 
> {{nn/c6501.ambari.apache.org}}.  Providing for a random string would allow 
> the {{cn}} value to be something like {{nn-ythnskdtarsjko5fsdfdsb}}. Since 
> the {{sAMAccountName}} can be at most 20 characters, it would be 
> {{nn-ythnskdtarsjko5fs}}.
> Since the generation of the attributes and values is done using a Velocity 
> template, this random string will need to be generated and stored in the 
> Velocity engine context before processing the template.



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

Reply via email to