summaryrefslogtreecommitdiffstats
path: root/source/utils/status.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-14 08:27:41 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-14 08:27:41 +0000
commitf9af35da26e58fb0b644b5f0169f1c212230047a (patch)
tree09581bb6fe69c5aa7fab0fff73a9f75bacacc662 /source/utils/status.c
parent23a8588765af24544433fedeeb927a4f68cb1263 (diff)
downloadsamba-f9af35da26e58fb0b644b5f0169f1c212230047a.tar.gz
samba-f9af35da26e58fb0b644b5f0169f1c212230047a.tar.xz
samba-f9af35da26e58fb0b644b5f0169f1c212230047a.zip
another makeover of loadparm to support new stuff in swat and
testparm. In particular I added: - ability to optionally save default values of all parameters when calling lp_load(). This can then be used to save only non-default parameters in lp_dump(). This makes the saved smb.conf (and viewed parameters in testparm) much shorter - ability to not load ipc share in lp_load() - separators in parm_table[] so parameters can be grouped logically. - flag to mark parameters that are local but which should be also viewed as global as far as parameters editing is concerned
Diffstat (limited to 'source/utils/status.c')
-rw-r--r--source/utils/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/status.c b/source/utils/status.c
index 401dd25c895..7c89ad6d63f 100644
--- a/source/utils/status.c
+++ b/source/utils/status.c
@@ -152,7 +152,7 @@ static void print_share_mode(share_mode_entry *e, char *fname)
get_myname(myhostname, NULL);
- if (!lp_load(servicesf,False)) {
+ if (!lp_load(servicesf,False,False,False)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n", servicesf);
return (-1);
}