Minimal krb5.conf Configuration
Occasionally, we get a request to assist getting a random Linux box to get kerb5 tickets. The following information is a template reply to client.
Dear [FILL IN CLIENT NAME HERE],
This message is a quick reply from case [CASENUMBER] and your query regarding Kerberos setup in your Ubuntu Linux box. In order to get kerberos to function, you need to tell it where to connect to and that is done via the krb5.conf file (which is probably in /etc).
In the [libdefaults] section, insert the line:
default_realm = ATHENA.MIT.EDU
In the [realms] section, insert the lines:
ATHENA.MIT.EDU = {
kdc = kerberos.mit.edu
kdc = kerberos-1.mit.edu
kdc = kerberos-2.mit.edu
admin_server = kerberos.mit.edu
master_kdc = kerberos.mit.edu
}
In the [domain_realm] section, insert the following two lines:
.mit.edu = ATHENA.MIT.EDU
mit.edu = ATHENA.MIT.EDU
With these changes, you should be able to run the kinit command and get kerberos tickets (from MIT).
If you need further assistance, please let us know and we will try to help.
Regards,
[CONSULTANT NAME]
The Computing Help Desk