The Kerberos principals are usually defined as role/host@REALM
. How is the host field used over here?
Does it enforces that only that particular host can get a Kerberos ticket whenever kinit
is run?
- If yes, then it makes sense for proper DNS to be setup.
- If no, how is the hostname useful?
I created a principal with name xyz/garbage@REALM
in the kadmin.local
panel, downloaded the keytab and distributed it to a different host machine. I tried to do kinit
using this keytab and it worked.
Is that the correct behavior? How do I check if my Kerberos is using DNS or not?