repl_meta_data should only be included when we are a DC
authorAndrew Tridgell <tridge@samba.org>
Wed, 2 Sep 2009 07:08:52 +0000 (17:08 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 2 Sep 2009 08:19:56 +0000 (18:19 +1000)
source4/scripting/python/samba/provision.py

index 2ab0d7c9a0c59005d3129e13e6039755bf013d5b..cbffa22f333e8e519deb813a2946b6b0a28bacb8 100644 (file)
@@ -585,7 +585,6 @@ 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",
@@ -611,6 +610,7 @@ def setup_samdb_partitions(samdb_path, setup_path, message, lp, session_info,
             tdb_modules_list = ["extended_dn_out_dereference"]
 
     elif serverrole == "domain controller":
+        tdb_modules_list.insert(0, "repl_meta_data")
         backend_modules = []
     else:
         backend_modules = ["objectguid"]