git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2c3a1f4
)
s3:libsmbconf: use lp_load_global() in the testsuite
author
Michael Adam
<obnox@samba.org>
Wed, 27 Jul 2011 14:29:04 +0000
(16:29 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 28 Jul 2011 09:17:30 +0000
(11:17 +0200)
source3/lib/smbconf/testsuite.c
patch
|
blob
|
history
diff --git
a/source3/lib/smbconf/testsuite.c
b/source3/lib/smbconf/testsuite.c
index c2a9a59cbef873a3aff53e298abb4e334209ef1f..9e679362a325186a7bcb1e5b7e6c37ac46b0d2aa 100644
(file)
--- 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;