[Samba] Unable to join a DC to a Site that doesn't already have a DC in that subnet

Chris Alavoine chrisa at acs-info.co.uk
Wed Jun 18 02:28:22 MDT 2014


Hi all,

Am having problems adding a new DC to a Site that doesn't already have a DC
in the same subnet. Whenever I try and do a domain join specifying a nearby
DC in a different subnet I get this:

ERROR(runtime): uncaught exception - (-1073741643, 'NT_STATUS_IO_TIMEOUT')
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
    return self.run(*args, **kwargs)
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line
552, in run
    machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/join.py", line
1172, in join_DC
    ctx.do_join()
  File "/usr/local/samba/lib/python2.7/site-packages/samba/join.py", line
1082, in do_join
    ctx.join_finalise()
  File "/usr/local/samba/lib/python2.7/site-packages/samba/join.py", line
881, in join_finalise
    ctx.send_DsReplicaUpdateRefs(nc)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/join.py", line
866, in send_DsReplicaUpdateRefs
    ctx.drsuapi.DsReplicaUpdateRefs(ctx.drsuapi_handle, 1, r)

I have managed to join a DC to a Site that already has a DC in that subnet
(although not in that Site).

Can anyone think of a workaround for this?

This is my join statement (names changed to protect the innocent):

/usr/local/samba/bin/samba-tool domain join essence.internal.com DC
-UAdministrator --realm=example.com --server=remotedc.example.com
--site=local


I am trying to do this due to the bug that doesn't allow the manual moving
of DC's to new Sites by using the ADSS drag and drop method.

Thanks,
Chris.



-- 
ACS (Alavoine Computer Services Ltd)
Chris Alavoine
mob +44 (0)7724 710 730
www.alavoinecs.co.uk
http://twitter.com/#!/alavoinecs
http://www.linkedin.com/pub/chris-alavoine/39/606/192


More information about the samba mailing list