summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-07-31 01:00:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:15 -0500
commit7b99b2048ef1cd5603d93ac94543838a049d0adc (patch)
tree64779f0bfbb96fbf9d4ca7cda7a436d2959737a8 /source4/scripting
parent331ad9e7b8857ad5ed8b9383765a2fc06938c906 (diff)
downloadsamba-7b99b2048ef1cd5603d93ac94543838a049d0adc.tar.gz
samba-7b99b2048ef1cd5603d93ac94543838a049d0adc.tar.bz2
samba-7b99b2048ef1cd5603d93ac94543838a049d0adc.zip
r17330: Enable the partitions module.
This module redirects various samdb requests into different modules, depending on the prefix. It also makes moving to an LDAP backend easier, as it is just a different partition backend. This adds yet another stage to the provision process, as we must setup the partitions before we setup the magic attributes. Andrew Bartlett (This used to be commit 31225b9cb6ef6fcb7bd831043999b1b44ef1b128)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/libjs/provision.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index c4ffab6a30..232d15d66f 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -479,8 +479,11 @@ function provision(subobj, message, blank, paths, session_info, credentials)
message("Setting up hklm.ldb\n");
setup_ldb("hklm.ldif", info, paths.hklm);
+ message("Setting up sam.ldb partitions\n");
+ setup_ldb("provision_partitions.ldif", info, paths.samdb);
+
message("Setting up sam.ldb attributes\n");
- setup_ldb("provision_init.ldif", info, paths.samdb);
+ setup_ldb("provision_init.ldif", info, paths.samdb, NULL, false);
message("Erasing data from partitions\n");
ldb_erase_partitions(info, paths.samdb);