Join a domain as a DC - replicating problems

Marc Muehlfeld Marc.Muehlfeld at medizinische-genetik.de
Thu Nov 1 06:20:16 MDT 2012


I reset everything completely to the environment like it was before, updated 
my DC + the prospective DC to rc4 and did the same procedure again. But same 
error on showrepl.

Any idea what could be wrong and how it could be fixed?


I meanwhile reverted my samba directory to the one before the join. Just to 
make sure, that the failed operations doesn't affect anything, until both DCs 
are fully working as expected.

Regards,
Marc



Am 01.11.2012 11:59, schrieb Marc Muehlfeld:
> 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
>
>
>

-- 
Marc Muehlfeld (IT-Leiter)
Zentrum für Humangenetik und Laboratoriumsmedizin
Dr. Klein, Dr. Rost und Kollegen
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-780
http://www.medizinische-genetik.de


More information about the samba-technical mailing list