summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-22 18:15:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:01 -0500
commit91ee0709b2a41268bc5d148130e2d3d2a1813b6e (patch)
tree04ed04f2f949a90dd2d563ecc70392ec95841ded /source4/scripting
parent784f11bd85cba85773e90ab56d97cc3f9fd70943 (diff)
downloadsamba-91ee0709b2a41268bc5d148130e2d3d2a1813b6e.tar.gz
samba-91ee0709b2a41268bc5d148130e2d3d2a1813b6e.tar.bz2
samba-91ee0709b2a41268bc5d148130e2d3d2a1813b6e.zip
r20953: add templates in provision_become_dc()
metze (This used to be commit 306ea74f85c8cd0df767a25c45304cb33410e03c)
Diffstat (limited to 'source4/scripting')
-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 d3fa216383..3e409c0dfb 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -481,6 +481,9 @@ function provision_become_dc(subobj, message, paths, session_info)
message("Setting up " + paths.samdb + " indexes\n");
setup_add_ldif("provision_index.ldif", info, samdb, false);
+ message("Setting up " + paths.samdb + " templates\n");
+ setup_add_ldif("provision_templates.ldif", info, samdb, false);
+
ok = samdb.transaction_commit();
assert(ok);