[Samba] Problems joining station in domain

Marcio Demetrio Bacci marciobacci at gmail.com
Tue Aug 27 22:14:19 UTC 2019


Hi,

>You seem to be having dns problems.
I believe too, but how can I solved?

>Why is localhost commented out ? you should uncomment it.
OK.

>There may be a problem with your self compiled Samba, so can I suggest
>you try Louis's repo:
Now, I have installed by Louis'repo, but didn't solve the problem, as
follows:

 samba-tool domain join empresa.com.br DC -k yes

ERROR(runtime): uncaught exception - (9003,
'WERR_DNS_ERROR_RCODE_NAME_ERROR')
  File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 185,
in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 700,
in run
    backend_store=backend_store)
  File "/usr/lib/python3/dist-packages/samba/join.py", line 1544, in join_DC
    ctx.do_join()
  File "/usr/lib/python3/dist-packages/samba/join.py", line 1445, in do_join
    ctx.join_add_dns_records()
  File "/usr/lib/python3/dist-packages/samba/join.py", line 1213, in
join_add_dns_records
    dns_partition=forestdns_zone_dn)
  File "/usr/lib/python3/dist-packages/samba/samdb.py", line 1069, in
dns_lookup
    dns_partition=dns_partition)

Do you have any other idea?

Regards,

Márcio Bacci

Em ter, 27 de ago de 2019 às 17:21, Rowland penny via samba <
samba at lists.samba.org> escreveu:

> 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
>
>
>
> --
> 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