[Samba] kerberos/samba errors?

Rowland Penny rowlandpenny at googlemail.com
Sat Feb 15 11:37:43 MST 2014


On 15/02/14 18:27, jimc wrote:
> Done. No change.
>
> I should mention that samba-tool testparm shows no errors, and that 
> smbclient -L localhost -U% also seems to work.
>
> Another strange phenomenon* if any other computers are running when 
> catnip is rebooted, smbclient shows that box as the ozco master and 
> catnip as the localhost  master. When I restart samba and repeat, it 
> shows no masters at all.
>
> I can send some logs if you care.
>
> -jimc
>
> On 2/15/2014 10:17 AM, Rowland Penny wrote:
>> On 15/02/14 18:05, jimc wrote:
>>> These two problems must be related.
>>>
>>> kinit: cannot resolve servers for kdc in realm "${REALM}" while 
>>> getting initial credentials
>>>
>>> samba-tool dns zonelist catnip
>>> yadda
>>> yadda,
>>> etc.
>>> failed to connect to host 127.0.1.1 on port 135 NT_STATUS_REFUSED
>>>
>>> krb5 is as provided in /usr/local/samba/share/setup/krb5.conf
>>
>> Try using /usr/local/samba/private/krb5.conf
>> This one should have your realm in it ;-)
>>
>> Rowland
>>
>>>
>>> /etc/services shows port 135 as:
>>>
>>> loc-srv  135-tcp  emap
>>> loc_srv 137-udp emap
>>>
>>> What we need is a 'hitch hiker's guide to linux', which will at 
>>> least have "DON'T PANIC" in large friendly letters on the cover.
>>>
>>> -jimc
>>
>
Try opening /etc//krb5.conf in your favourite editor and if it contains 
'${REALM}' replace this with your realm

I take it you compiled samba4 yourself? did you alter any other files 
and if so how.

Oh and the nearest you will get to the 'hitch hiker's guide to linux', 
as far as samba is concerned, is the samba wiki:

https://wiki.samba.org/index.php/Main_Page

Rowland


More information about the samba mailing list