diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-08-27 13:13:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:50 -0500 |
commit | 2edf63b6d647eba131e213bd9dbc543100396930 (patch) | |
tree | 7416510a7f86dc10a41e64800f336f7870d34689 /source4/scripting/libjs | |
parent | e56566f3df59fcbca5f15757bf93d23ee9bd9851 (diff) | |
download | samba-2edf63b6d647eba131e213bd9dbc543100396930.tar.gz samba-2edf63b6d647eba131e213bd9dbc543100396930.tar.bz2 samba-2edf63b6d647eba131e213bd9dbc543100396930.zip |
r24703: Use standard registry diff files when provisioning rather than
LDIF files for the registry files.
(This used to be commit 67ad556b7388e5d82756e0a3cfc596e44136329c)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r-- | source4/scripting/libjs/provision.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js index 1054a9a508..6ec29748f6 100644 --- a/source4/scripting/libjs/provision.js +++ b/source4/scripting/libjs/provision.js @@ -376,12 +376,6 @@ function provision_default_paths(subobj) var paths = new Object(); paths.smbconf = lp.get("config file"); paths.shareconf = lp.get("private dir") + "/" + "share.ldb"; - paths.hklm = "hklm.ldb"; - paths.hkcu = "hkcu.ldb"; - paths.hkcr = "hkcr.ldb"; - paths.hku = "hku.ldb"; - paths.hkpd = "hkpd.ldb"; - paths.hkpt = "hkpt.ldb"; paths.samdb = lp.get("sam database"); paths.secrets = lp.get("secrets database"); paths.keytab = "secrets.keytab"; @@ -582,8 +576,9 @@ function provision(subobj, message, blank, paths, session_info, credentials, lda setup_ldb("secrets_init.ldif", info, paths.secrets); setup_ldb("secrets.ldif", info, paths.secrets, false); - message("Setting up hklm.ldb\n"); - setup_ldb("hklm.ldif", info, paths.hklm); + message("Setting up the registry\n"); + var reg = reg_open(); + reg.apply_patchfile(lp.get("setup directory") + "/provision.reg") message("Setting up sam.ldb partitions\n"); /* Also wipes the database */ |