diff options
-rw-r--r-- | source3/param/loadparm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 21fa662141..3b5c4df35d 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -8989,7 +8989,10 @@ static bool lp_load_ex(const char *pszFname, lp_save_defaults(); } - free_param_opts(&Globals.param_opt); + if (!initialize_globals) { + free_param_opts(&Globals.param_opt); + apply_lp_set_cmdline(); + } lp_do_parameter(-1, "idmap config * : backend", Globals.szIdmapBackend); |