summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-28 10:27:43 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:40 +0200
commit7e2deb94dc13d1e3bad38e332c838ffd9a403480 (patch)
tree945278b10463037442b0a17960029b908617a3ef
parent039ae12dbb554677bce8c27be120fdaaedc37cb8 (diff)
downloadsamba-7e2deb94dc13d1e3bad38e332c838ffd9a403480.tar.gz
samba-7e2deb94dc13d1e3bad38e332c838ffd9a403480.tar.bz2
samba-7e2deb94dc13d1e3bad38e332c838ffd9a403480.zip
s3:smbpasswd: use lp_load_global()
-rw-r--r--source3/utils/smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index eeab4ef7de..bc3aaff54e 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -196,7 +196,7 @@ static int process_options(int argc, char **argv, int local_flags)
usage();
}
- if (!lp_load(configfile,True,False,False,True)) {
+ if (!lp_load_global(configfile)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n",
configfile);
exit(1);