git.samba.org
/
ambi
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b608cfc
)
s3:smbcontrol: use lp_load_global(): smbcontrol does not need to load the shares
author
Michael Adam
<obnox@samba.org>
Thu, 28 Jul 2011 08:23:53 +0000
(10:23 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 28 Jul 2011 09:17:38 +0000
(11:17 +0200)
source3/utils/smbcontrol.c
patch
|
blob
|
history
diff --git
a/source3/utils/smbcontrol.c
b/source3/utils/smbcontrol.c
index 5520dcf608a3017539e2e723240b161749f3bd01..91f6493fba2a65af74f1bfdef30f54fe30b9c1fd 100644
(file)
--- 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