From b793e02c6bb1962f44e8732cbf790b7912b7abe6 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 28 Jul 2011 10:39:45 +0200 Subject: s3:smbstatus: use lp_load_global() - smbstatus does not need to load shares! --- source3/utils/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/utils/status.c b/source3/utils/status.c index 4d37f7e66e..001c5fd011 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -393,7 +393,7 @@ static int traverse_sessionid(const char *key, struct sessionid *session, } } - if (!lp_load(get_dyn_CONFIGFILE(),False,False,False,True)) { + if (!lp_load_global(get_dyn_CONFIGFILE())) { fprintf(stderr, "Can't load %s - run testparm to debug it\n", get_dyn_CONFIGFILE()); ret = -1; -- cgit