s4/dsdb/replmd: use incoming_dn_should_be_renamed() 1/2
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 24 Jul 2019 03:21:10 +0000 (15:21 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 24 Jul 2019 09:35:24 +0000 (09:35 +0000)
commitb9dab848de066a8a3821c30261de8d6cccd77370
treefc1a4502e182f5b93fbbedd26cd42f575a35782f
parent5d75ab3ebf48f876f4fb462e0d18c71f931a27c2
s4/dsdb/replmd: use incoming_dn_should_be_renamed() 1/2

In replmd_op_possible_conflict_callback().

The helper function was introduced in the previous commit and consists
of a large common stretch of this and replmd_replicated_handle_rename().

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c