The Samba-Bugzilla – Bug 13038
Samba can incorrectly increment linked attribute RMD_VERSION during replication
Last modified: 2017-10-01 22:21:32 UTC
During replication, if Samba receives the same linked attribute information, but with a newer timestamp, then it would incorrectly increment the RMD_VERSION in the link attribute's repl-meta-data. This change to the RMD_VERSION would occur locally, so the DC and the peer DC that sent the replication data would have differing RMD_VERSIONs.
RMD_VERSION is used to determine whether or not linked attributes received during replication should be ignored. So in theory, this may cause linked attribute changes to be dropped. However, in reality, I think it'd be reasonably difficult to get a linked attribute being dropped due to this problem.
Note that for this problem to occur, the same linked attribute change needs to be made on 2 different DCs simultaneously (or you have problems in your network which means the DCs aren't replicating with each other properly).
I've added tests that demonstrate this problem::