Upgrade krb5 to centos 5.6 breaks samba4?

Brian C. Huffman bhuffman at etinternational.com
Tue Apr 12 09:21:00 MDT 2011


Still the same problem.  :-(

Ran the commands you suggested below.  Also removed 
/usr/local/samba/lib64.  Verified that the directories and all commands 
had been removed.

Ran a "make clean; make; make install" from the samba source directory.

Still getting the same error.

Any other thoughts?
Thanks,
Brian

On 04/11/2011 04:32 PM, Taylor, Jonn wrote:
> 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