summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-28 10:19:36 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:37 +0200
commit2a98ee0f83d42392eacd1a9d7aaa9644d1ee7fa3 (patch)
tree6b989c602c18e60c97623c8840726bd66943f0f1
parentac9a61bda885e68451bb47d2c44e37a7ff724bed (diff)
downloadsamba-2a98ee0f83d42392eacd1a9d7aaa9644d1ee7fa3.tar.gz
samba-2a98ee0f83d42392eacd1a9d7aaa9644d1ee7fa3.tar.bz2
samba-2a98ee0f83d42392eacd1a9d7aaa9644d1ee7fa3.zip
s3:ntlm_auth: use lp_load_global()
-rw-r--r--source3/utils/ntlm_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index ba11ec7368..3a99a8c1bf 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -2639,7 +2639,7 @@ enum {
poptFreeContext(pc);
- if (!lp_load(get_dyn_CONFIGFILE(), True, False, False, True)) {
+ if (!lp_load_global(get_dyn_CONFIGFILE())) {
d_fprintf(stderr, "ntlm_auth: error opening config file %s. Error was %s\n",
get_dyn_CONFIGFILE(), strerror(errno));
exit(1);