Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3324:2a8ff9cbb50b HEAD
LDAP passdb finally should work again.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 23 Apr 2005 18:52:16 +0300 |
parents | 2e153b23b830 |
children | 38eaa792c405 |
files | src/auth/passdb-ldap.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/passdb-ldap.c Sat Apr 23 18:46:21 2005 +0300 +++ b/src/auth/passdb-ldap.c Sat Apr 23 18:52:16 2005 +0300 @@ -31,8 +31,6 @@ verify_plain_callback_t *verify_plain; lookup_credentials_callback_t *lookup_credentials; } callback; - - char password[1]; /* variable width */ }; static struct ldap_connection *passdb_ldap_conn; @@ -158,7 +156,7 @@ return; } - ret = password_verify(ldap_request->password, password, scheme, + ret = password_verify(auth_request->mech_password, password, scheme, auth_request->user); if (ret < 0) { auth_request_log_error(auth_request, "ldap",