[
https://issues.apache.org/jira/browse/AMBARI-9323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14291241#comment-14291241
]
Robert Levas commented on AMBARI-9323:
--------------------------------------
The {{host}} principal is no longer created:
{code}
[root@c6503 keytabs]# klist -kt nn.service.keytab
Keytab name: FILE:nn.service.keytab
KVNO Timestamp Principal
---- ----------------- --------------------------------------------------------
1 01/25/15 19:14:49 nn/[email protected]
1 01/25/15 19:14:49 nn/[email protected]
1 01/25/15 19:14:49 nn/[email protected]
1 01/25/15 19:14:49 nn/[email protected]
{code}
> Kerberos: host/<hostname>@REALM principals are created (should not be created)
> ------------------------------------------------------------------------------
>
> Key: AMBARI-9323
> URL: https://issues.apache.org/jira/browse/AMBARI-9323
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 2.0.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Labels: kerberos, keytabs
> Fix For: 2.0.0
>
> Attachments: AMBARI-9323_01.patch
>
>
> While generating principals, host/<hostname>@REALM principals are created.
> These should not be created.
> And they are ending-up in the resulting keytab. For example:
> {code}
> [root@c6402 keytabs]# klist -kt nn.service.keytab
> Keytab name: FILE:nn.service.keytab
> KVNO Timestamp Principal
> ---- -----------------
> --------------------------------------------------------
> 1 01/24/15 18:07:51 nn/[email protected]
> 1 01/24/15 18:07:51 nn/[email protected]
> 1 01/24/15 18:07:51 nn/[email protected]
> 1 01/24/15 18:07:51 nn/[email protected]
> 1 01/24/15 18:07:51 nn/[email protected]
> 1 01/24/15 18:07:51 host/[email protected]
> 1 01/24/15 18:07:51 host/[email protected]
> 1 01/24/15 18:07:51 host/[email protected]
> 1 01/24/15 18:07:51 host/[email protected]
> 1 01/24/15 18:07:51 host/[email protected]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)