summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-02 17:08:52 +1000
committerAndrew Tridgell <tridge@samba.org>2009-09-02 18:19:56 +1000
commitb5f63160d474b1fc8484a1a9112aa4f248d1e814 (patch)
tree8901f5b16e003c1f342375b13abf89dc9340afab
parentca45847edab3a5897c0e0d3b4c486ad9ae0848c6 (diff)
downloadsamba-b5f63160d474b1fc8484a1a9112aa4f248d1e814.tar.gz
samba-b5f63160d474b1fc8484a1a9112aa4f248d1e814.tar.bz2
samba-b5f63160d474b1fc8484a1a9112aa4f248d1e814.zip
repl_meta_data should only be included when we are a DC
-rw-r--r--source4/scripting/python/samba/provision.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index 2ab0d7c9a0..cbffa22f33 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -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"]