[Samba] Fwd: Good installation documentation on samba4?

Léon van der Kaap leonkaap at gmail.com
Fri Jul 29 21:09:17 UTC 2016


Thanks, I think I found the issue now. My system loves to be stubborn about
DNS. The fact that /etc/resolv.conf is automatically generated from
configuration probably didn't help either. I was convinced the DNS worked,
but the system decided otherwise. It readily explains the Kerberos issue.

The reboot of the system probably reset the DNS and it showed up as a
Kerberos issue.

You've all been very helpful with your comments. Thanks for helping me find
out where the issues were.

2016-07-29 22:50 GMT+02:00 Rowland penny <rpenny at samba.org>:

> On 29/07/16 21:43, Léon van der Kaap wrote:
>
>> The OS I'm using is Ubuntu 16.04. The previous OS I was working with was
>> Ubuntu 14.04. The krb issue I had was that the kdc server
>>
>> " RuntimeError: kinit for DOMAINCONTROLLER$@SAMDOM.EXAMPLE.COM <
>> http://SAMDOM.EXAMPLE.COM> failed (Cannot contact any KDC for requested
>> realm)".
>>
>> The modified krb5.conf file I distilled out of information on the
>> internet helped to create a working version.
>>
>> When comparing the documentation of samba4 vs. samba 3.5 I find that the
>> samba3.5 documentation is a lot more complete and a lot bigger. Comparing
>> the samba4 documentation to the samba3.5, makes me think the newer
>> documentation of more of an afterthought than a similarly constructed
>> document.
>>
>>
> I think I understand this a bit better now, the kinit didn't work until
> you added a line to krb5.conf that told kerberos where the DC was, this
> sounds very like a dns problem. Did you alter your /etc/resolv.conf after
> the provision, so it pointed the nameserver to itself and seeing as you are
> using Ubuntu, did you remove 127.0.1.1 from /etc/hosts and stop Network
> Manager from using dnsmasq.
>
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list