Robert Levas created AMBARI-24522:
-------------------------------------

             Summary: Cannot connect to MIT KDC admin server when port is 
specified in kerberos-env/admin_server_host
                 Key: AMBARI-24522
                 URL: https://issues.apache.org/jira/browse/AMBARI-24522
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.7.0
            Reporter: Robert Levas
            Assignee: Robert Levas
             Fix For: 2.7.1


Cannot connect to MIT KDC admin server when port is specified in 
{{kerberos-env/admin_server_host}}.  The following error is seen when 
validating the KDC admin credentials:

{noformat}
kinit: Server not found in Kerberos database while getting initial credentials
{noformat}

The reason for this is due to how the credentials are created for accessing the 
MIT KDC administration server. 

{noformat}
kinit -c <path> -S kadmin/<kerberos-env/admin_server_host>  <principal>
{noformat}

If a port was added to the {{kerberos-env/admin_server_host}} value then the 
server principal will be generated like {{kadmin/kdc.example.com:4749}} rather 
than {{kadmin/kdc.example.com}}. Therefore the server principal is not found.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to