Bug 13055 - Samba replication cannot resolve single-valued link conflicts
Summary: Samba replication cannot resolve single-valued link conflicts
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.7.0rc6
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-26 23:21 UTC by Tim Beale
Modified: 2018-02-08 20:26 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