Join a domain as a DC - replicating problems

Gémes Géza geza at kzsdabas.hu
Thu Nov 1 07:21:52 MDT 2012


2012-11-01 11:59 keltezéssel, Marc Muehlfeld írta:
> Hello,
>
> I joined a fresh rc3 machine to my existing domain (DC is running also 
> rc3) as a DC. I followed the "Join a domain as a DC" howto. But the 
> following step fails:
>
> # samba-tool drs showrepl -Uadministrator
> ERROR(<class 'samba.drs_utils.drsException'>): DRS connection to 
> allel.muc.medizinische-genetik.de failed - drsException: DRS 
> connection to allel.muc.medizinische-genetik.de failed: (-1073741772, 
> 'NT_STATUS_OBJECT_NAME_NOT_FOUND')
>   File 
> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/drs.py", 
> line 39, in drsuapi_connect
>     (ctx.drsuapi, ctx.drsuapi_handle, ctx.bind_supported_extensions) = 
> drs_utils.drsuapi_connect(ctx.server, ctx.lp, ctx.creds)
>   File 
> "/usr/local/samba/lib64/python2.6/site-packages/samba/drs_utils.py", 
> line 54, in drsuapi_connect
>     raise drsException("DRS connection to %s failed: %s" % (server, e))
>
>
> The machine "allel.muc.medizinische-genetik.de" is the machine I've 
> joined.
>
>
> It seems, the hostname was not added to the DNS:
>
> # host -t A allel.muc.medizinische-genetik.de.
> Host allel.muc.medizinische-genetik.de. not found: 3(NXDOMAIN)
>
>
> I tried to add the A record on the old DC, but this fails:
> # samba-tool dns add 192.168.10.4 muc.medizinische-genetik.de 
> allel.muc.medizinische-genetik.de A 192.168.29.9
>
> ERROR(runtime): uncaught exception - (-1073741643, 
> 'NT_STATUS_IO_TIMEOUT')
>   File 
> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py", 
> line 175, in _run
>     return self.run(*args, **kwargs)
>   File 
> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/dns.py", 
> line 1040, in run
>     dns_conn = dns_connect(server, self.lp, self.creds)
>   File 
> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/dns.py", 
> line 35, in dns_connect
>     dns_conn = dnsserver.dnsserver(binding_str, lp, creds)
>
>
> But DNS resolution in general is working:
> # host -t A exon.muc.medizinische-genetik.de.
> exon.muc.medizinische-genetik.de has address 192.168.29.2
>
>
> You have any ideas?
>
> Regards,
> Marc
>
>
>
Hi,

I had similar problems which where fixed following:

http://lists.samba.org/archive/samba-technical/2012-October/088000.html

It turned out to be dns problem after all. I suggest to check the dns 
records under _msdsc.YOUR.DOMAIN.NAME

Regards

Geza Gemes


More information about the samba-technical mailing list