summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/smbw_sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbw_sample.c b/source3/utils/smbw_sample.c
index eface2fc46..2c4a20fab7 100644
--- a/source3/utils/smbw_sample.c
+++ b/source3/utils/smbw_sample.c
@@ -34,7 +34,7 @@ int main(int argc, char *argv[])
char *path;
TALLOC_CTX *frame = talloc_stackframe();
- lp_load(get_dyn_CONFIGFILE(),1,0,0,1);
+ lp_load_global(get_dyn_CONFIGFILE());
smbw_setup_shared();
while ((opt = getopt(argc, argv, "W:U:R:d:P:l:hL:")) != EOF) {