[Samba] Replication problems

Andrew Bartlett abartlet at samba.org
Tue May 6 02:43:53 MDT 2014


On Tue, 2014-05-06 at 09:15 +0200, L.P.H. van Belle wrote:
> Hai, 
>  
> Im having the same problems as discribed here. 
> https://lists.samba.org/archive/samba/2013-June/173981.html 
> 
> samba4 install on debian with sernet samba. i did this about 10 times now, and this is the first time i have this. 
> i've tried to update manualy. 
> samba-tool drs replicate dc2 dc1 DC=INTERNAL,DC=DOMAIN,DC=TLD
>  
> but results in : 
> 
> ERROR(<class 'samba.drs_utils.drsException'>): DsReplicaSync failed - drsException: DsReplicaSync failed (58, 'WERR_BAD_NET_RESP')
>   File "/usr/lib/python2.7/dist-packages/samba/netcmd/drs.py", line 345, in run
>     drs_utils.sendDsReplicaSync(self.drsuapi, self.drsuapi_handle, source_dsa_guid, NC, req_options)
>   File "/usr/lib/python2.7/dist-packages/samba/drs_utils.py", line 83, in sendDsReplicaSync
>     raise drsException("DsReplicaSync failed %s" % estr)
>  
> When did this happen, im thinking,  added 1 computer, added the zarafa schema (7.1.9), until here no errors. ( yesterday ) 
> Today i did setup my DNS zones, and i was creating OU's, created 2 users. 
>  
> then i check my samba logs again and was supprised to see this message:
>  
> [2014/05/06 09:12:31.735002,  0] ../source4/dsdb/repl/replicated_objects.c:783(dsdb_replicated_objects_commit)
>   Failed to apply records: subtree_rename: Cannot move/rename CN=BCKUPKEY_PREFERRED Secret,CN=System,DC=internal,DC=domain,DC=tld. It's an LSA-specific object!: Entry already exists
> [2014/05/06 09:12:31.735331,  0] ../source4/dsdb/repl/drepl_out_helpers.c:725(dreplsrv_op_pull_source_apply_changes_trigger)
>   Failed to commit objects: WERR_GENERAL_FAILURE/NT_STATUS_INVALID_NETWORK_RESPONSE

This is fixed in current master and a fix is scheduled for 4.1 at  https://bugzilla.samba.org/show_bug.cgi?id=10569

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba mailing list