summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-18 16:06:37 +0100
committerMichael Adam <obnox@samba.org>2008-01-20 03:54:57 +0100
commit536bff422969f79e92e90ca959716624fbb96ed1 (patch)
tree3adcfebc4a50129d04ae24a1e002fd2d18c2b4b0 /source3
parent6c5a831e96982ce0954c09de126205e334ff3a31 (diff)
downloadsamba-536bff422969f79e92e90ca959716624fbb96ed1.tar.gz
samba-536bff422969f79e92e90ca959716624fbb96ed1.tar.bz2
samba-536bff422969f79e92e90ca959716624fbb96ed1.zip
Do an explicit init_globals() when restarting for "config backend = registry".
Michael (This used to be commit 487c43f9284598a3c60b06fc60e5c50844e11b87)
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 0d3fbbf77c..0796a78dd3 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -5725,6 +5725,7 @@ bool lp_load(const char *pszFname,
*/
config_backend = CONFIG_BACKEND_REGISTRY;
/* start over */
+ init_globals(false);
return lp_load(pszFname, global_only, save_defaults,
add_ipc, initialize_globals);
}