Subject: Is the configuration file krb5.conf required for Kerberos to work?
Author: eLDAP
Posted on: 02/10/2010 08:15:44 PM
No, it is optional.
The essential Kerberos configuration information is the default realm and the default KDC. In other wrods, the krb5.conf is optional if you can get the required information from your system property:
java.security.krb5.realm
java.security.krb5.kdc
Note: If you set one of these properties you must set them both.
If you set properties to indicate these values, they are not obtained from a krb5.conf configuration file.
If these properties do not have values set, or if other Kerberos configuration information is needed, an attempt is made to find the required information in a krb5.conf file. If this is the case, then the krb5.conf file is required.
References: