From: Andrew Bartlett Date: Mon, 13 Feb 2017 23:11:19 +0000 (+1300) Subject: repl_meta_data: Add comment with some future improvements X-Git-Tag: talloc-2.1.9~190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=056b6b8e5c5203d642cc2c9cbe2e9c36dff6bc56;p=thirdparty%2Fsamba.git repl_meta_data: Add comment with some future improvements Signed-off-by: Andrew Bartlett Reviewed-by: Garming Sam --- diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index c37ed68fc77..a85ac866e8f 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -2119,6 +2119,16 @@ static int get_parsed_dns_trusted(struct ldb_module *module, } } + /* + * This upgrades links to FL2003 style, and sorts the result + * if that was needed. + * + * TODO: Add a database feature that asserts we have no FL2000 + * style links to avoid this check or add a feature that + * uses a similar check to find sorted/unsorted links + * for an on-the-fly upgrade. + */ + ret = replmd_check_upgrade_links(ldb_module_get_ctx(module), *pdn, el->num_values, el,