s4:provision Ensure that @OPTIONS is mirrored into each partition
[ira/wip.git] / source4 / scripting / python / samba / provision.py
index a8cedaf23a6be4020aa2762a101edaecd07de0e0..0a3a44f0cdd0afabec6c01f8666dd3bb83959a79 100644 (file)
@@ -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