LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-05-2010, 03:24 PM   #1
MheAd
Member
 
Registered: Jun 2007
Distribution: Ubuntu 14.04
Posts: 186

Rep: Reputation: 36
CentOS 5.3 and MIT KRB5 "Improper format of Kerberos configuration file"


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!

Last edited by MheAd; 04-05-2010 at 03:36 PM.
 
Old 04-05-2010, 03:34 PM   #2
MheAd
Member
 
Registered: Jun 2007
Distribution: Ubuntu 14.04
Posts: 186

Original Poster
Rep: Reputation: 36
Argh...sorry...it was a simple typo in kdc.conf file.
But those things happen late at night
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Exaile crashes with "glib.GError: Couldn't recognise the image file format for file" cantab Arch 2 10-30-2009 06:35 PM
file format why difference between "command line and GUI interface" hocheetiong Linux - Newbie 3 09-17-2007 07:19 AM
gdb "not in executable format: File format not recognized" tcma Programming 9 07-18-2007 06:02 AM
Completely new, says "Error 2" and Improper Compression type DinanCarsM5 Slackware - Installation 7 11-30-2005 06:27 PM
redhat 9 frustration....... :/ "krb5-libs" and "openssl" DraaX Linux - Newbie 3 07-25-2003 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration