mirror of
https://github.com/samba-team/samba.git
synced 2025-11-15 16:23:49 +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 commit is contained in:
committed by
Gerald (Jerry) Carter
parent
d2c29a5a51
commit
4a8ef7197f
@@ -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