[Samba] DRS problem after rename

Rowland Penny rpenny at samba.org
Wed Mar 22 14:37:50 UTC 2017


On Wed, 22 Mar 2017 11:29:21 -0300
Edson Tadeu Almeida da Silveira <edson.tadeu at gmail.com> wrote:

> Rowland i think that when i was made my changes using that wrong ldb
> some problem happened between my DCs. they were working wellm but
> now, when i issue this commands, the first one donĀ“t work:
> 
> AT DC2 (server2):
> 
> # samba-tool drs replicate server2 server1 dc=DOMAIN,dc=LOCAL
> ERROR(<class 'samba.drs_utils.drsException'>): DsReplicaSync failed -
> drsException: DsReplicaSync failed (-1073741643, '{Device Timeout} The
> specified I/O operation on %hs was not completed before the time-out
> period expired.')
>   File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/drs.py",
> line 350, in run drs_utils.sendDsReplicaSync(self.drsuapi,
> self.drsuapi_handle, source_dsa_guid, NC, req_options)
>   File
> "/usr/local/samba/lib/python2.7/site-packages/samba/drs_utils.py",
> line 83, in sendDsReplicaSync raise drsException("DsReplicaSync
> failed %s" % estr)
> 
> # samba-tool drs replicate server2 server1
> DC=ForestDnsZones,dc=DOMAIN,dc=LOCAL
> Replicate from server2 to server1 was successful.
> # samba-tool drs replicate server2 server1
> CN=Configuration,dc=DOMAIN,dc=LOCAL
> Replicate from server1 to server2 was successful.
> # samba-tool drs replicate server2 to
> server1 DC=DomainDnsZones,dc=DOMAIN,dc=LOCAL
> Replicate from server1 to server2 was successful.
> # samba-tool drs replicate server2 server1
> CN=Schema,CN=Configuration,dc=DOMAIN,dc=LOCAL
> Replicate from server1 to server2 was successful.
> 
> 
> But when i verify with samba-tool drs showrepl it appears to be
> working:
> 
> 
> 
> There is something to do in order to repair this problem?
> 
> Everytime a different problem :-)
> 
> Thanks Rowland
> 

You could try 'samba-tool dbcheck'

Rowland



More information about the samba mailing list