[Samba] multi-site DC - AD

zhia chandra bentunx at gmail.com
Thu Feb 12 01:10:28 MST 2015


hi all

i have problem with my multi-site AD-DC installation, one of my DC, 
suddently cant start well, i think problem(corrupt) with the LDAP database
then i try to re join it, but every time i try to join it i always has 
issue like this

/Finding a writeable DC for domain 'domain.co.id'
Found DC pdc.domain.co.id
Password for [domain\administrator]:
workgroup is domain
realm is domain.co.id
checking sAMAccountName
Adding CN=DC24,OU=Domain Controllers,DC=domain,DC=co,DC=id
Adding 
CN=DC24,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,D C=domain,DC=co,DC=id
Adding CN=NTDS 
Settings,CN=DC24,CN=Servers,CN=Default-First-Site-Name,CN=Sites,C 
N=Configuration,DC=domain,DC=co,DC=id
Failed to bind to uuid e3514235-4b06-11d1-ab04-00c04fc2dcd2 for 
e3514235-4b06-11 
d1-ab04-00c04fc2dcd2 at ncacn_ip_tcp:pdc.domain.co.id[1024,seal] 
NT_STATUS_IO_TIM EOUT
Join failed - cleaning up
checking sAMAccountName
Deleted CN=DC24,OU=Domain Controllers,DC=domain,DC=co,DC=id
Deleted 
CN=DC24,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration, 
DC=domain,DC=co,DC=id
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/domain.py", 
line 555, in run
     machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
   File "/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", 
line 1172 , in join_DC
     ctx.do_join()
   File "/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", 
line 1075 , in do_join
     ctx.join_add_objects()
   File "/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", 
line 541, in join_add_objects
     ctx.join_add_ntdsdsa()
   File "/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", 
line 474, in join_add_ntdsdsa
     ctx.DsAddEntry([rec])
   File "/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", 
line 384, in DsAddEntry
     ctx.drsuapi_connect()
   File "/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", 
line 362, in drsuapi_connect
     ctx.drsuapi = drsuapi.drsuapi(binding_string, ctx.lp, ctx.creds)/

i have about 1mbps OpenVPN connection between this site to another DC to 
join
i try to ping from each DC    , i think its fine

/[root at dc24 ~]# ping pdc
PING pdc.domain.co.id (172.16.99.3) 56(84) bytes of data.
64 bytes from 172.16.99.3: icmp_seq=1 ttl=61 time=140 ms
64 bytes from 172.16.99.3: icmp_seq=2 ttl=61 time=51.2 ms
64 bytes from 172.16.99.3: icmp_seq=3 ttl=61 time=48.5 ms
64 bytes from 172.16.99.3: icmp_seq=4 ttl=61 time=59.3 ms
64 bytes from 172.16.99.3: icmp_seq=5 ttl=61 time=194 ms
64 bytes from 172.16.99.3: icmp_seq=6 ttl=61 time=50.2 ms
64 bytes from 172.16.99.3: icmp_seq=7 ttl=61 time=65.5 ms
64 bytes from 172.16.99.3: icmp_seq=8 ttl=61 time=62.3 ms
64 bytes from 172.16.99.3: icmp_seq=9 ttl=61 time=50.1 ms
^C
--- pdc.domain.co.id ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8835ms
rtt min/avg/max/mdev = 48.567/80.214/194.278/48.556 ms/

but still i cant re joint the dc
any suggest to overcome this problem ?

Thanks In Advance


More information about the samba mailing list