From db60f1d9562f91fcb83c7e9f42915ec9b426abca Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 6 Aug 2014 16:20:42 +0200 Subject: [PATCH] s3:param: in lp_load_initial_only(), make sure to save defaults. This is the initial loading of the config in the daemons (and some tools). So we should save the defaults here. This should especially take into account some dynamic defaults like log file and maybe some changed values handed in via the command line. Signed-off-by: Michael Adam Reviewed-by: Ira Cooper --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 75a0d4265c4..c73dcfea79b 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -3818,7 +3818,7 @@ bool lp_load_initial_only(const char *pszFname) { return lp_load_ex(pszFname, true, /* global only */ - false, /* save_defaults */ + true, /* save_defaults */ false, /* add_ipc */ true, /* initialize_globals */ false, /* allow_include_registry */ -- 2.11.4.GIT