[Samba] issues joining second DC

Damien Dye damien.dye at sondrel.com
Thu Feb 20 06:43:00 MST 2014


I have 1 DC in the UK running samba4 fine for the last 6 weeks now am
trying to join another

this one is in shanghai connected via VPN

when joining am getting the following error



samba-tool domain join sondrel.com DC -Uadministrator
--realm=sondrel.com--dns-backend=BIND9_DLZ
Finding a writeable DC for domain 'sondrel.com'
Found DC uk-dc01.sondrel.com
Password for [WORKGROUP\administrator]:
workgroup is SONDREL
realm is sondrel.com
checking sAMAccountName
Adding CN=CN-DC01,OU=Domain Controllers,DC=sondrel,DC=com
Adding
CN=CN-DC01,CN=Servers,CN=Shanghai,CN=Sites,CN=Configuration,DC=sondrel,DC=com
Adding CN=NTDS
Settings,CN=CN-DC01,CN=Servers,CN=Shanghai,CN=Sites,CN=Configuration,DC=sondrel,DC=com
Failed to bind to uuid e3514235-4b06-11d1-ab04-00c04fc2dcd2 for
e3514235-4b06-11d1-ab04-00c04fc2dcd2 at ncacn_ip_tcp:uk-dc01.sondrel.com[1024,seal]
NT_STATUS_IO_TIMEOUT
Join failed - cleaning up
checking sAMAccountName
Deleted CN=CN-DC01,OU=Domain Controllers,DC=sondrel,DC=com
Deleted
CN=CN-DC01,CN=Servers,CN=Shanghai,CN=Sites,CN=Configuration,DC=sondrel,DC=com
ERROR(runtime): uncaught exception - (-1073741643, 'NT_STATUS_IO_TIMEOUT')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line
175, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/domain.py", line
552, in run
    machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
  File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1172, in
join_DC
    ctx.do_join()
  File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1075, in
do_join
    ctx.join_add_objects()
  File "/usr/lib64/python2.7/site-packages/samba/join.py", line 541, in
join_add_objects
    ctx.join_add_ntdsdsa()
  File "/usr/lib64/python2.7/site-packages/samba/join.py", line 474, in
join_add_ntdsdsa
    ctx.DsAddEntry([rec])
  File "/usr/lib64/python2.7/site-packages/samba/join.py", line 384, in
DsAddEntry
    ctx.drsuapi_connect()
  File "/usr/lib64/python2.7/site-packages/samba/join.py", line 362, in
drsuapi_connect
    ctx.drsuapi = drsuapi.drsuapi(binding_string, ctx.lp, ctx.creds)


is there a work around ot some setting I can adjust to stop the time out
over the low bandwidth link ?

regards

--

Damien Dye
 IT Manager
 *Sondrel Ltd*
 Sondrel House, Theale Lakes Business Park
Moulden Way, Sulhamstead, Berkshire, RG7 4GB, UK

Tel: +44(0)118 9838 550
www.sondrel.com

 [image: Sondrel] <http://www.sondrel.com/>

This e-mail and any attachments may be confidential or legally privileged.
If you are not the intended recipient, you should destroy the e-mail
message and any attachments, and inform us of the erroneous delivery by
return e-mail. You are prohibited from retaining, distributing, disclosing
or using any information contained herein. Internet communications cannot
be guaranteed to be timely, secure, error or virus-free. Sondrel Ltd and
the sender do not accept liability for any errors or omissions, nor do we
accept liability for the content of this email, or for the consequences of
any actions taken on the basis of the information provided, unless that
information is consequently confirmed in writing under the personal
signature of a duly authorised officer of Sondrel Ltd.

This email is sent on behalf of Sondrel Ltd registered in England with
number 4491953, registered office Sondrel House, Theale Lakes Business
Park, Moulden Way, Sulhamstead, Berkshire, RG7 4GB, UK.


More information about the samba mailing list