move the repl_meta_data module up the ldb module stack
authorAndrew Tridgell <tridge@samba.org>
Wed, 2 Sep 2009 06:58:04 +0000 (16:58 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 2 Sep 2009 08:19:56 +0000 (18:19 +1000)
The repl_meta_data module needs to be above the linked_attributes
module, to allow linked_attributes to do its magic

source4/scripting/python/samba/provision.py

index bb95f3834ee5192c5e69574a0bf6bdae7193b310..2ab0d7c9a0c59005d3129e13e6039755bf013d5b 100644 (file)
@@ -585,6 +585,7 @@ def setup_samdb_partitions(samdb_path, setup_path, message, lp, session_info,
                     "password_hash",
                     "operational"]
     tdb_modules_list = [
+                    "repl_meta_data",
                     "subtree_rename",
                     "subtree_delete",
                     "linked_attributes",
@@ -610,7 +611,7 @@ def setup_samdb_partitions(samdb_path, setup_path, message, lp, session_info,
             tdb_modules_list = ["extended_dn_out_dereference"]
 
     elif serverrole == "domain controller":
-        backend_modules = ["repl_meta_data"]
+        backend_modules = []
     else:
         backend_modules = ["objectguid"]