summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbconf/testsuite.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/lib/smbconf/testsuite.c b/source3/lib/smbconf/testsuite.c
index c2a9a59cbe..9e679362a3 100644
--- a/source3/lib/smbconf/testsuite.c
+++ b/source3/lib/smbconf/testsuite.c
@@ -304,12 +304,7 @@ int main(int argc, const char **argv)
poptFreeContext(pc);
- ret = lp_load(get_dyn_CONFIGFILE(),
- true, /* globals_only */
- false, /* save_defaults */
- false, /* add_ipc */
- true /* initialize globals */);
-
+ ret = lp_load_global(get_dyn_CONFIGFILE());
if (!ret) {
printf("failure: error loading the configuration\n");
goto done;