summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-08-26 17:31:44 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-08-26 17:37:01 +1000
commit1a97bd915dfe90b40ec03617af3d8d25483af9c9 (patch)
treedcd3a58978ca717424467a65987d1c5822db71b6 /source4/scripting
parent425386ff6141bba2e7b1d8f3c27e96aaf1c5cb95 (diff)
downloadsamba-1a97bd915dfe90b40ec03617af3d8d25483af9c9.tar.gz
samba-1a97bd915dfe90b40ec03617af3d8d25483af9c9.tar.bz2
samba-1a97bd915dfe90b40ec03617af3d8d25483af9c9.zip
s4:provision Ensure that @OPTIONS is mirrored into each partition
The previous patches to the provision system cut down on the number of reconnects, and disabled the partition handling for part of the process. This means we lost the setting of @OPTIONS as a replicated attribute into the partitions. Andrew Bartlett
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/provision.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index a8cedaf23a..0a3a44f0cd 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -842,6 +842,10 @@ def setup_samdb(path, setup_path, session_info, credentials, lp,
# And now we can connect to the DB - the schema won't be loaded from the DB
samdb.connect(path)
+
+ # Load @OPTIONS
+ samdb.load_ldif_file_add(setup_path("provision_options.ldif"))
+
if fill == FILL_DRS:
return samdb