repl_meta_data: Always sort the links when upgrading them
authorAndrew Bartlett <abartlet@samba.org>
Mon, 13 Feb 2017 23:08:35 +0000 (12:08 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 14 Feb 2017 01:20:08 +0000 (02:20 +0100)
commit75d523f5792275b8aa357d0f266b0bc9b7a1c935
tree0976aff0a047130da15a1c84278bd75b142059d2
parent6ee0aceae17991d3eb665e9f19399be1a03b1ace
repl_meta_data: Always sort the links when upgrading them

This allows us to know that the output of get_parsed_dns_trusted() is sorted, as an
upgraded attribute of FL2000 links would not otherwise be sorted in the DB

This allows us to delete linked objects that have a forward link from a
FL2000 style linked attribute once the DN+Binary patches land.

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