summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-27 16:29:04 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:30 +0200
commit88ee6973f0bf5d5e5f6f9552ce065e109663828e (patch)
tree9351e1300edb4fb0ba57870ef9e0150debaac54a /source3/lib/smbconf
parent2c3a1f44fafaacde5f966ebd646e3aa1dc20468e (diff)
downloadsamba-88ee6973f0bf5d5e5f6f9552ce065e109663828e.tar.gz
samba-88ee6973f0bf5d5e5f6f9552ce065e109663828e.tar.bz2
samba-88ee6973f0bf5d5e5f6f9552ce065e109663828e.zip
s3:libsmbconf: use lp_load_global() in the testsuite
Diffstat (limited to 'source3/lib/smbconf')
-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;