vim /etc/krb5.conf
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
default_realm = XXX.COM.CN
[realms]
XXX.COM.CN = {
default_domain = XXX.COOM.CN
kdc = 10.136.74.64:88
admin_server = 10.136.74.64:749
}
[domain_realm]
.kerberos.server = XXX.COM.CN
.xxx.com.cn = XXX.COM.CN