Hey guys,
I'm trying to learn Kerberos and I'm doing so by following O'Reillys book.
Kind of turn-off when things are not functioning properly when one follows instruction. It fails basically at the very beginning - creation of a new realm, when I execute the command:
kdb5_util create -s
I get the error message:
Quote:
(null) Improper format of Kerberos configuration file while initializing Kerberos code
|
I'm not finding anything in any log.
My configuration files (followed by the book, but tweaked to my environment):
Code:
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 = DOMAIN.XX
[realms]
DOMAIN.XX = {
kdc = centos-server1.domain.xx:88
admin_server = centos-server1.domain.xx:749
default_domain = domain.xx
}
[domain_realm]
domain.xx = DOMAIN.XX
.domain.xx = DOMAIN.XX
kdb.conf
[kdcdefaults]
tcp_ports = 88,750
[realms]
DOMAIN.XX = {
database_name = /var/kerberos/principal
admin_keytab = /var/kerberos/krb5kdc/kadm5.keytab
acl_file = /var/kerberos/krb5kdc/kadm5.acl
dict_file = /usr/share/dict/words
key_stash_file ) /var/kerberos/.k5.DOMAIN.XX
kadmin_port = 749
max_life = 10h 0m 0s
max_renewable_life = 7d 0h 0m 0s
master_key_type = des3-hmac-sha1
supported_enctypes = des3-hmac-sha1:normal des-cbc-crc:normal
}
I'm running RPM-installation of MIT Kerberos, on CentOS 5.3.
Thanks in advance for any clues!