mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
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 4a8ef7197f
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
7a8ac75887
commit
6173fad231
@ -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");
|
||||
|
Reference in New Issue
Block a user