Join a domain as a DC - replicating problems

Marc Muehlfeld Marc.Muehlfeld at
Thu Nov 1 04:59:47 MDT 2012


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 failed - drsException: DRS connection to failed: (-1073741772, 
   File "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/", 
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/", 
line 54, in drsuapi_connect
     raise drsException("DRS connection to %s failed: %s" % (server, e))

The machine "" is the machine I've joined.

It seems, the hostname was not added to the DNS:

# host -t A
Host not found: 3(NXDOMAIN)

I tried to add the A record on the old DC, but this fails:
# samba-tool dns add A

ERROR(runtime): uncaught exception - (-1073741643, 'NT_STATUS_IO_TIMEOUT')
line 175, in _run
     return*args, **kwargs)
   File "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/", 
line 1040, in run
     dns_conn = dns_connect(server, self.lp, self.creds)
   File "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/", 
line 35, in dns_connect
     dns_conn = dnsserver.dnsserver(binding_str, lp, creds)

But DNS resolution in general is working:
# host -t A has address

You have any ideas?


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

More information about the samba-technical mailing list