diff options
author | Michael Adam <obnox@samba.org> | 2008-04-13 17:22:52 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-04-21 14:19:14 +0200 |
commit | 832f54ead4b46b3574e6972651e0e3af07f962c7 (patch) | |
tree | a7e4fa1d90def8eb56bc01911bf88bd86e81a124 /source/param | |
parent | bad9e77dacbcae46f35183d1f49800b8ed2d610d (diff) | |
download | samba-832f54ead4b46b3574e6972651e0e3af07f962c7.tar.gz samba-832f54ead4b46b3574e6972651e0e3af07f962c7.tar.xz samba-832f54ead4b46b3574e6972651e0e3af07f962c7.zip |
loadparm: use the new smbconf_init() dispatcher for loading registry config.
Michael
(cherry picked from commit 78afb30f8073c3804dfa0cecadf973d5af5dd612)
Diffstat (limited to 'source/param')
-rw-r--r-- | source/param/loadparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c index c678d04fd0d..b53e27b03d3 100644 --- a/source/param/loadparm.c +++ b/source/param/loadparm.c @@ -6506,7 +6506,7 @@ static bool process_registry_globals(void) 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; } @@ -6617,7 +6617,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))); |