[Samba] Fwd: Good installation documentation on samba4?

Rowland penny rpenny at samba.org
Fri Jul 29 20:50:22 UTC 2016


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



More information about the samba mailing list