Kerberos initialisation error

Cov dgcoventry at gmail.com
Thu Feb 21 00:59:54 EST 2008


Hi,

I need to use Kerberos to authenticate users for squid via samba.

My /etc/hosts is as follows:
============================================
127.0.0.1       localhost
localhost.localdomain localhost
127.0.1.1       iqBase iqBase.iqetd.lan
192.168.60.254  iqBase.iqetd.lan

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
============================================

My /etc/krb5.conf
============================================
[logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
 ticket_lifetime = 24000
 default_realm = IQETD.LAN
 dns_lookup_realm = false
 dns_lookup_kdc = false

[realms]
 IQETD.LAN = {
  kdc = 192.168.60.254:88
  admin_server = 192.168.60.254:749
  default_domain = IQETD.LAN
 }

[domain_realm]
 .iqetd.lan = IQETD.LAN
 iqetd.lan = IQETD.LAN

[kdc]
 profile = /var/kerberos/krb5kdc/kdc.conf

[appdefaults]
 pam = {
   debug = false
   ticket_lifetime = 36000
   renew_lifetime = 36000
   forwardable = true
   krb4_convert = false
 }
============================================

when I start /etc/init.d/krb5-admin-server restart

I get:
# /etc/init.d/krb5-admin-server restart
 * Restarting Kerberos administrative servers kadmind
                           kadmind: Improper format of Kerberos
configuration file while initializing context, aborting

I am using Ubuntu 7.10 server.

Any assistance would be very welcome.

Thank you

Dave Coventry



More information about the Kerberos mailing list