[CentOS] Problems joining Samba toa w2000 AD PDC

Thu Apr 7 01:16:25 UTC 2005
Jim Perrin <jperrin at gmail.com>

> # [root at tux samba]# kinit f148 at dte.ua.pt
> kinit(v5): Cannot find KDC for requested realm while getting initial
> credentials
> [root at tux samba]#
> 
> Where do i define this KDC thing ?

You should have a [realms] section in your /etc/krb5.conf file. It
should look like this:

[realms]

FAKE_REALM = {
  kdc = kerberos.server.com
  kdc = kerberos2.server.com
}

Also, for some broken environments, you may have to add "noaddresses =
false" in [libdefaults]

Another thing for the libdefaults section is:
default_tkt_enctypes = des-cbc-crc des-cbc-md5
default_tgs_enctypes = des-cbc-crc     
(thanks to marc powell for this one)

--
Jim Perrin