summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-07-21 02:12:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:51 -0500
commit6173fad23171add5b1d143f6c15fb36842811135 (patch)
tree708eae4a7cae97c56125be9597682506766949d0 /source4/scripting
parent7a8ac7588720ebd1ea61a539ca4040d322c4fcf2 (diff)
downloadsamba-6173fad23171add5b1d143f6c15fb36842811135.tar.gz
samba-6173fad23171add5b1d143f6c15fb36842811135.tar.bz2
samba-6173fad23171add5b1d143f6c15fb36842811135.zip
r8660: Use templates for the initial provision of user and computer accounts.
This ensures the templating code is used, and also makes it clearer what I need to duplicate in the vampire area. Also fix a silly bug in the template application code (the samdb module) that caused templates to be compleatly unused (my fault, from my commit last night). Andrew Bartlett (This used to be commit 4a8ef7197ff938942832034453f843cb8a50f2d1)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/libjs/provision.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index db71392d8c..38f3fc066e 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -246,6 +246,8 @@ function provision(subobj, message)
setup_ldb("hklm.ldif", "hklm.ldb", subobj);
message("Setting up sam.ldb attributes\n");
setup_ldb("provision_init.ldif", "sam.ldb", subobj);
+ message("Setting up sam.ldb templates\n");
+ setup_ldb("provision_templates.ldif", "sam.ldb", subobj, NULL, false);
message("Setting up sam.ldb data\n");
setup_ldb("provision.ldif", "sam.ldb", subobj, data, false);
message("Setting up rootdse.ldb\n");