summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-13 17:22:52 +0200
committerMichael Adam <obnox@samba.org>2008-04-13 20:04:44 +0200
commit9fd9060e53fc9ccff7e8f34c95e39480a040a26e (patch)
treee65093d597d52e3d68c946e0da608146d73da6f4 /source3
parentd2d82394a488471e54bd4931f892dc1640f9d80e (diff)
downloadsamba-9fd9060e53fc9ccff7e8f34c95e39480a040a26e.tar.gz
samba-9fd9060e53fc9ccff7e8f34c95e39480a040a26e.tar.bz2
samba-9fd9060e53fc9ccff7e8f34c95e39480a040a26e.zip
loadparm: use the new smbconf_init() dispatcher for loading registry config.
Michael (This used to be commit 78afb30f8073c3804dfa0cecadf973d5af5dd612)
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 27bf1e8ce1..d5fd571ce4 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -6498,7 +6498,7 @@ static bool process_registry_globals(bool (*pfunc)(const char *, const char *, v
if (conf_ctx == NULL) {
/* first time */
- werr = smbconf_init_reg(NULL, &conf_ctx, NULL);
+ werr = smbconf_init(NULL, &conf_ctx, "registry:");
if (!W_ERROR_IS_OK(werr)) {
goto done;
}
@@ -6608,7 +6608,7 @@ bool lp_file_list_changed(void)
if (lp_config_backend_is_registry()) {
if (conf_ctx == NULL) {
WERROR werr;
- werr = smbconf_init_reg(NULL, &conf_ctx, NULL);
+ werr = smbconf_init(NULL, &conf_ctx, "registry:");
if (!W_ERROR_IS_OK(werr)) {
DEBUG(0, ("error opening configuration: %s\n",
dos_errstr(werr)));