diff options
author | Ralph Boehme <slow@samba.org> | 2018-07-10 08:11:31 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-10-10 15:51:53 +0200 |
commit | b02c52cc513af03af27a4173a623c7e61d9eac17 (patch) | |
tree | ead009941c82169396568fa00eae037faf34b26c /source3/param | |
parent | b63a2006526b928c4d89b15383eab57a69b57702 (diff) | |
download | samba-b02c52cc513af03af27a4173a623c7e61d9eac17.tar.gz |
s3:loadparm: reinit_globals in lp_load_with_registry_shares()
This was set to false in 0e0d77519c27038b30fec92d542198e97be767d9 based
on the assumption that callers would have no need to call
lp_load_initial_only() with a later call to lp_load_something().
This is not quite correct, since for accessing registry config on a
cluster with include=registry, we need messaging up and running which
*itself* requires loadparm to be initialized to get the statedir,
lockdir asf. directories.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit 3aca3f24d4bdacc11278388934b0b411d518d7b0)
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 291ba57e0bb..322934c55f0 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -4120,7 +4120,7 @@ bool lp_load_with_registry_shares(const char *pszFname) false, /* global_only */ true, /* save_defaults */ false, /* add_ipc */ - false, /* reinit_globals */ + true, /* reinit_globals */ true, /* allow_include_registry */ true); /* load_all_shares*/ } |