summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/scripting/libjs/provision.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index 6d5e9d4f70..d77b2b6c04 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -473,6 +473,9 @@ function provision_become_dc(subobj, message, paths, session_info)
message("Erasing data from partitions\n");
ldb_erase_partitions(info, samdb, undefined);
+ message("Setting up " + paths.samdb + " indexes\n");
+ setup_add_ldif("provision_index.ldif", info, samdb, false);
+
ok = samdb.transaction_commit();
assert(ok);