summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-28 10:23:53 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:38 +0200
commitce8beb51330aac2d69c78ee02c61cda988161660 (patch)
tree21e84dc6b28af53595521891a3b47a78f4248ef6
parentb608cfc8ec9bd62e815d4e9c317c2dabe90cd1cb (diff)
downloadsamba-ce8beb51330aac2d69c78ee02c61cda988161660.tar.gz
samba-ce8beb51330aac2d69c78ee02c61cda988161660.tar.bz2
samba-ce8beb51330aac2d69c78ee02c61cda988161660.zip
s3:smbcontrol: use lp_load_global(): smbcontrol does not need to load the shares
-rw-r--r--source3/utils/smbcontrol.c2
1 files changed, 1 insertions, 1 deletions
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