aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2014-05-14 23:11:54 +0200
committerGilles Chehade <gilles@poolp.org>2014-05-14 23:11:54 +0200
commit9418b0a050fd1b59a57a85c1a7e5c3ff449ac3b0 (patch)
tree5507ab4b0e09422bce2aedc76850489dd207b772
parentfix smtp session with the filter code path (diff)
downloadOpenSMTPD-9418b0a050fd1b59a57a85c1a7e5c3ff449ac3b0.tar.xz
OpenSMTPD-9418b0a050fd1b59a57a85c1a7e5c3ff449ac3b0.zip
ldap userinfo search expects 3 attributes, not 4 anymore
-rw-r--r--smtpd/table_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smtpd/table_ldap.c b/smtpd/table_ldap.c
index ec333021..b9c5a909 100644
--- a/smtpd/table_ldap.c
+++ b/smtpd/table_ldap.c
@@ -363,7 +363,7 @@ ldap_config(void)
read_value(&queries[LDAP_USERINFO].filter, key, value);
else if (!strcmp(key, "userinfo_attributes"))
ldap_parse_attributes(queries[LDAP_USERINFO].attrs,
- key, value, 4);
+ key, value, 3);
else
log_warnx("warn: table-ldap: bogus entry \"%s\"", key);
}