# [root@tux samba]# kinit f148@dte.ua.pt kinit(v5): Cannot find KDC for requested realm while getting initial credentials [root@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