[
https://issues.apache.org/jira/browse/AMBARI-9295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14294284#comment-14294284
]
Hadoop QA commented on AMBARI-9295:
-----------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12694843/AMBARI-9295_01.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new
or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in
ambari-server.
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/1509//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/1509//console
This message is automatically generated.
> Remove toLowerCase() from userPrincipalName in default Kerberos principal
> create template
> -----------------------------------------------------------------------------------------
>
> Key: AMBARI-9295
> URL: https://issues.apache.org/jira/browse/AMBARI-9295
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server, stacks
> Affects Versions: 2.0.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Labels: active-directory, active_directory, kerberos
> Fix For: 2.0.0
>
> Attachments: AMBARI-9295_01.patch
>
>
> Remove toLowerCase() from userPrincipalName in default Kerberos principal
> create template. This is creating an issue with principals that have
> upper-cased characters and Active Directory such that when kinit-ing,
> authenticating fails:
> {code:title=kinit -V -k -t /etc/security/keytabs/spnego.service.keytab }
> HTTP/c6501.ambari.apache.org
> Using default cache: /tmp/krb5cc_0
> Using principal: HTTP/[email protected]
> Using keytab: /etc/security/keytabs/spnego.service.keytab
> kinit: Preauthentication failed while getting initial credentials
> {code}
> An example of the offending template is as follows:
> {code:title=from kerberos-env.xml}
> {
> "objectClass": ["top", "person", "organizationalPerson", "user"],
> "cn": "$principal_name",
> #if( $is_service )
> "servicePrincipalName": "$principal_name",
> #end
> "userPrincipalName": "$normalized_principal.toLowerCase()",
> "unicodePwd": "$password",
> "accountExpires": "0",
> "userAccountControl": "66048"
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)