replmd: Refactor adding the backlink in replmd_process_linked_attribute()
commit91951d869f8a2e06869577f36e0fb5af806ffa99
authorTim Beale <timbeale@catalyst.net.nz>
Mon, 18 Sep 2017 01:47:56 +0000 (18 13:47 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 20 Oct 2017 02:05:20 +0000 (20 04:05 +0200)
treed805049f25ef90cd3d8158df4e293259bae32712
parent593dacd274a22583cac4e091a08bf2ded0ae9703
replmd: Refactor adding the backlink in replmd_process_linked_attribute()

The code to add the backlink is the same in both the 'if' and the 'else'
case, so move it outside the if-else block.

(We're going to rework this block of code quite a bit in order to
support single-value linked attribute conflicts, aka bug #13055).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13055

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c