r20953: add templates in provision_become_dc()
authorStefan Metzmacher <metze@samba.org>
Mon, 22 Jan 2007 18:15:54 +0000 (18:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:44:01 +0000 (14:44 -0500)
metze

source/scripting/libjs/provision.js

index d3fa2163836886dc130fbb8c57c7034bce45acb2..3e409c0dfb8443056c034c085da3cca955f58d9f 100644 (file)
@@ -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);