[Samba] Problems joining station in domain

Rowland penny rpenny at samba.org
Tue Aug 27 22:20:23 UTC 2019


On 27/08/2019 20:28, Marcio Demetrio Bacci wrote:
> Hi,
>
> I intend to join a Samba 4.10.7 as DC in my domain to later upgrade 
> the other DC from Samba 4.5.16 to Samba 4.10.7, but the following 
> error is occurring:
>
> samba-tool domain join empresa.com.br <http://empresa.com.br> DC -k 
> yes --server=samba4-dc1.empresa.com.br <http://samba4-dc1.empresa.com.br>
>
> INFO 2019-08-27 16:10:58,330 pid:744 
> /usr/local/samba/lib/python3.5/site-packages/samba/join.py #1106: 
> Adding 1 remote DNS records for SAMBA4-DC3.empresa.com.br 
> <http://SAMBA4-DC3.empresa.com.br>
> INFO 2019-08-27 16:10:58,457 pid:744 
> /usr/local/samba/lib/python3.5/site-packages/samba/join.py #1169: 
> Adding DNS A record SAMBA4-DC3.empresa.com.br 
> <http://SAMBA4-DC3.empresa.com.br> for IPv4 IP: 192.168.1.19
> INFO 2019-08-27 16:10:58,537 pid:744 
> /usr/local/samba/lib/python3.5/site-packages/samba/join.py #1197: 
> Adding DNS CNAME record 
> 7ef91385-147e-43dc-b216-48eee3157b06._msdcs.empresa.com.br 
> <http://msdcs.empresa.com.br> for SAMBA4-DC3.empresa.com.br 
> <http://SAMBA4-DC3.empresa.com.br>
> Join failed - cleaning up
You seem to be having dns problems.
>
> Following are my configuration files, kerberos and DNS tests:
>
> cat /etc/hosts
> #127.0.0.1 localhost
> 192.168.1.19 samba4-dc3.empresa.com.br 
> <http://samba4-dc3.empresa.com.br> samba4-dc3

Why is localhost commented out ? you should uncomment it.

There may be a problem with your self compiled Samba, so can I suggest 
you try Louis's repo:

http://apt.van-belle.nl/

Rowland





More information about the samba mailing list