repl_meta_data: Bring replmd_check_upgrade_links() into get_parsed_dns_trusted()
authorAndrew Bartlett <abartlet@samba.org>
Mon, 13 Feb 2017 22:59:13 +0000 (11:59 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 14 Feb 2017 01:20:07 +0000 (02:20 +0100)
commit6ee0aceae17991d3eb665e9f19399be1a03b1ace
tree10cf04812a542e59ea435f4c93c5b1d968590990
parentb6902fd637f22f2740d1ae1eb5ac73aadc9a0f30
repl_meta_data: Bring replmd_check_upgrade_links() into get_parsed_dns_trusted()

This eliminates a lot of duplicate code and allows us to know that we will
have a set of FL2003 style links in the parsed DNs to operate on

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