Upgrade krb5 to centos 5.6 breaks samba4?

Taylor, Jonn jonnt at taylortelephone.com
Mon Apr 11 14:32:10 MDT 2011


You need to remove all the old binary's before the make install as it
will not over write the old ones.

Jonn

rm -Rf /usr/local/samba/bin
rm -Rf /usr/local/samba/sbin
rm -Rf /usr/local/samba/include
rm -Rf /usr/local/samba/modules
rm -Rf /usr/local/samba/lib
rm -Rf /usr/local/samba/share


On 04/11/2011 03:28 PM, Brian C. Huffman wrote:
> Jonn / All,
>
> I went into my samba source, did a make clean, make, and make install
> and I'm still getting the same errors.  Is there something else I
> should be doing?
>
> Thanks,
> Brian
>
> On 04/11/2011 04:06 PM, Taylor, Jonn wrote:
>> 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