Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24522

Cannot connect to MIT KDC admin server when port is specified in kerberos-env/admin_server_host

    XMLWordPrintableJSON

    Details

      Description

      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:

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

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

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

      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.

        Attachments

          Activity

            People

            • Assignee:
              rlevas Robert Levas
              Reporter:
              rlevas Robert Levas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 10m
                2h 10m