repl_meta_data: Add comment with some future improvements
authorAndrew Bartlett <abartlet@samba.org>
Mon, 13 Feb 2017 23:11:19 +0000 (12:11 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 14 Feb 2017 01:20:08 +0000 (02:20 +0100)
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

index c37ed68fc77afb1390d44fda997cc4fa0aecfbc7..a85ac866e8f8d576d7c9dc906577387a067a316b 100644 (file)
@@ -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,