[Samba] Replication problems

L.P.H. van Belle belle at bazuin.nl
Tue May 6 01:15:58 MDT 2014

Im having the same problems as discribed here. 

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)

A question, when adding the zarafa schema, do i need to apply this on both DC's, if yes, then this must be the cause of my error.
If not, well, then i need some help
I also saw this, https://lists.samba.org/archive/samba/2013-June/173981.html 
something related? 

More information about the samba mailing list