Upgrade krb5 to centos 5.6 breaks samba4?

Taylor, Jonn jonnt at taylortelephone.com
Mon Apr 11 14:06:20 MDT 2011


On 04/11/2011 02:03 PM, Brian C. Huffman wrote:
> All,
>
> I just did a yum upgrade to the latest Centos 5.6 and it appears that
> something broke in my kerberos setup for Samba 4.  I'm getting the
> following error in the samba logs:
>
> /usr/local/samba/sbin/samba_dnsupdate: RuntimeError: kinit for
> RHTEST01$@ETI.COM failed (Cannot contact any KDC for requested realm:
> unable to reach any KDC in realm ETI.COM)
>
> I've verified that my /etc/krb5.conf is still in tact (not overwritten
> by the updates.  Here's what I have:
> [root at rhtest01 var]# more /etc/krb5.conf
> [libdefaults]
>     default_realm = ETI.COM
>     dns_lookup_realm = true
>     dns_lookup_kdc = true
>     ticket_lifetime = 24h
>     forwardable = yes
>
> [realms]
>     ETI.COM = {
>         kdc = rhtest01.eti.com:88
>         admin_server = rhtest01.eti.com:749
>         default_domain = eti.com
>     }
>
> [domain_realm]
>     .eti.com = ETI.COM
>     eti.com = ETI.COM
>
> Can anyone make any suggestions as to what might be wrong?
>
> Thanks!
> Brian

You need to recompile samba4. The lib's for krb changed.

Jonn


More information about the samba-technical mailing list