diff options
author | Michael Adam <obnox@samba.org> | 2015-04-21 15:24:42 +0200 |
---|---|---|
committer | Ira Cooper <ira@samba.org> | 2015-04-22 13:57:30 +0200 |
commit | 40c9cc150ad99c468207f1762b0a2eaba9f03925 (patch) | |
tree | ae1c5475a26d32b8804226c623d779d103e93457 /source3/utils/testparm.c | |
parent | 0e0d77519c27038b30fec92d542198e97be767d9 (diff) | |
download | samba-40c9cc150ad99c468207f1762b0a2eaba9f03925.tar.gz |
s3:param: remove arg save_defaults from lp_load_with_registry_shares()
This is only used in command line contexts, especially for testparm
which relies on safe defaults. The only changed use is in sharesec,
but it does not harm to also safe the defaults there.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r-- | source3/utils/testparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index a92fc3a8d8c..7850b4386ed 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -491,7 +491,7 @@ static void do_per_share_checks(int s) fprintf(stderr,"Load smb config files from %s\n",config_file); - if (!lp_load_with_registry_shares(config_file, True)) { + if (!lp_load_with_registry_shares(config_file)) { fprintf(stderr,"Error loading services.\n"); ret = 1; goto done; |