replmd: Split up replmd_verify_linked_attribute() into src/target checks
authorTim Beale <timbeale@catalyst.net.nz>
Fri, 26 Oct 2018 02:43:33 +0000 (15:43 +1300)
committerTim Beale <timbeale@samba.org>
Tue, 20 Nov 2018 03:48:46 +0000 (04:48 +0100)
commitaf1f24acf783c293d3af6de8e10a64a036d7be38
treefe18f01c0d889f6fa5a62e7b3debb1eb99c29ed8
parent0025e8e96a788bef49dca08a8ebc4929a165069b
replmd: Split up replmd_verify_linked_attribute() into src/target checks

Refactor replmd_verify_linked_attribute() so we split out the link
attribute source/target checks. This patch should not alter
functionality.

The source object check has been moved out to where
replmd_verify_linked_attribute() was called.

replmd_verify_linked_attribute() has been renamed, as it's now only
checking the link target.

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