git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a98ee0
)
s3:pdbedit: use lp_load_global()
author
Michael Adam
<obnox@samba.org>
Thu, 28 Jul 2011 08:20:24 +0000
(10:20 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 28 Jul 2011 09:17:38 +0000
(11:17 +0200)
source3/utils/pdbedit.c
patch
|
blob
|
history
diff --git
a/source3/utils/pdbedit.c
b/source3/utils/pdbedit.c
index dc126594dbc19bb041ff9fb9e5150d4e9a3689e7..123db0f87053f956ef9b29ab497d0ef17fea454c 100644
(file)
--- a/
source3/utils/pdbedit.c
+++ b/
source3/utils/pdbedit.c
@@
-1077,7
+1077,7
@@
int main (int argc, char **argv)
if (user_name == NULL)
user_name = poptGetArg(pc);
- if (!lp_load
(get_dyn_CONFIGFILE(),True,False,False,True
)) {
+ if (!lp_load
_global(get_dyn_CONFIGFILE()
)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n", get_dyn_CONFIGFILE());
exit(1);
}