7 Configure krb5.conf

Next, we need to configure /etc/krb5.conf. You should find in the section [realms] an entry for TEST.ORG. Add one additional line “default_domain = test.org” so that this portion reads like the following:

TEST.ORG = {  
kdc = krbsvr  
admin_server = krbsvr  
default_domain = test.org  
}

Then, close to bottom of the file, locate the section [domain_realm], then add the following lines to it:

.test.org = TEST.ORG  
test.org = TEST.ORG  
  

Once the file is edited, you can now restart krb using the following commands:

/etc/init.d/krb5-kdc restart  
/etc/init.d/krb5-admin-server restart  
  

The daemons should restart without any problems.