Cannot determine realm for host


When running kinit using a keytab as input, kinit outputs this error message:

# kinit -k -t /tmp/drum00host.keytab 
kinit: Cannot determine realm for host (principal host/


kinit wants to authenticate the host on which it is running with the Kerberos server appropriate for the realm. It needs to work out what that realm is and cannot.

Fixing the problem

Add an appropriate line to /etc/krb5.conf (such as the underlined) like this:


6 thoughts on “Cannot determine realm for host

  1. I see you don’t monetize your blog, i think there is one opportunity to
    earn extra money on your website, search in google for;
    idol4jp makes money

  2. Wow, amazing blog layout! How lengthy have you been blogging for? you make blogging glance easy. The whole look of your web site is excellent, as well as the content material!

Leave a Reply

Your email address will not be published. Required fields are marked *