[ 
https://issues.apache.org/jira/browse/AMBARI-9323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Levas updated AMBARI-9323:
---------------------------------
    Attachment: AMBARI-9323_01.patch

Removed _identities_ from kerberos.json files that lead to the generation of 
the {{host/<hostname>@<realm>}} entries.

Patch File [^AMBARI-9323_01.patch]


> 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)

Reply via email to