diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-07-21 02:12:20 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2005-07-21 02:12:20 +0000 |
commit | d9919c40f3b16812719a00d8b429f21189928d67 (patch) | |
tree | e67f9e822626cbecfc0ea37fa69ca69976cac8aa /source/scripting | |
parent | e7a1d16f10ae07591e70062354713f8487727e46 (diff) | |
download | samba-d9919c40f3b16812719a00d8b429f21189928d67.tar.gz samba-d9919c40f3b16812719a00d8b429f21189928d67.tar.xz samba-d9919c40f3b16812719a00d8b429f21189928d67.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
Diffstat (limited to 'source/scripting')
-rw-r--r-- | source/scripting/libjs/provision.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/scripting/libjs/provision.js b/source/scripting/libjs/provision.js index db71392d8ce..38f3fc066eb 100644 --- a/source/scripting/libjs/provision.js +++ b/source/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"); |