summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-28 10:20:24 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:38 +0200
commitd4abfcc04bcc3732d04abb9722e1bf85110131df (patch)
tree743629d41052e0299a658b54936af733571348e3 /source3
parent2a98ee0f83d42392eacd1a9d7aaa9644d1ee7fa3 (diff)
downloadsamba-d4abfcc04bcc3732d04abb9722e1bf85110131df.tar.gz
samba-d4abfcc04bcc3732d04abb9722e1bf85110131df.tar.bz2
samba-d4abfcc04bcc3732d04abb9722e1bf85110131df.zip
s3:pdbedit: use lp_load_global()
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/pdbedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index dc126594db..123db0f870 100644
--- 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);
}