s3:param: in lp_load_initial_only(), make sure to save defaults.
commitdb60f1d9562f91fcb83c7e9f42915ec9b426abca
authorMichael Adam <obnox@samba.org>
Wed, 6 Aug 2014 14:20:42 +0000 (6 16:20 +0200)
committerIra Cooper <ira@samba.org>
Wed, 22 Apr 2015 11:57:30 +0000 (22 13:57 +0200)
treef6123caf06c676bd52e95113d39a44b88fb9aa7f
parent5a7147a9d9f89073eb6347f6db9db21b7168ee24
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 <obnox@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
source3/param/loadparm.c