Bug 13055 - Samba replication cannot resolve single-valued link conflicts
Samba replication cannot resolve single-valued link conflicts
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
4.7.0rc6
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-26 23:21 UTC by Tim Beale
Modified: 2017-10-20 06:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Beale 2017-09-26 23:21:53 UTC
If 2 DCs independently add a single-valued linked attribute to an object, but link it to 2 different target objects, then replication cannot resolve this inconsistency. The replications stops due to this error and the 2 DCs won't be able to replicate to each other after this.

Currently it fails with the following error:
../source4/dsdb/repl/replicated_objects.c:938 Failed to prepare commit of transaction: prepare_commit error in module repl_meta_data: Attribute or value exists (20)
Failed to commit objects: WERR_GEN_FAILURE/NT_STATUS_INVALID_NETWORK_RESPONSE

A test has been added to demonstrate this problem (currently it's a known-fail).
https://git.samba.org/?p=samba.git;a=commit;h=1541c50b370e8695bf5c958cc41073d1552a3c52