From ce8beb51330aac2d69c78ee02c61cda988161660 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 28 Jul 2011 10:23:53 +0200 Subject: s3:smbcontrol: use lp_load_global(): smbcontrol does not need to load the shares --- source3/utils/smbcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils') diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 5520dcf608..91f6493fba 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -1471,7 +1471,7 @@ int main(int argc, const char **argv) if (argc <= 1) usage(pc); - lp_load(get_dyn_CONFIGFILE(),False,False,False,True); + lp_load_global(get_dyn_CONFIGFILE()); /* Need to invert sense of return code -- samba * routines mostly return True==1 for success, but -- cgit