dovecot-2.0: sql auth: Fixed using password_noscheme
dovecot at dovecot.org
dovecot at dovecot.org
Tue Nov 2 20:07:25 EET 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/840a488289ac
changeset: 12364:840a488289ac
user: Timo Sirainen <tss at iki.fi>
date: Tue Nov 02 18:06:39 2010 +0000
description:
sql auth: Fixed using password_noscheme
diffstat:
src/auth/passdb-sql.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 075963b71b94 -r 840a488289ac src/auth/passdb-sql.c
--- a/src/auth/passdb-sql.c Tue Nov 02 17:31:14 2010 +0000
+++ b/src/auth/passdb-sql.c Tue Nov 02 18:06:39 2010 +0000
@@ -88,7 +88,8 @@
found. Just checking if password is set isn't enough,
because with proxies we might want to return NULL as
password. */
- if (sql_result_find_field(result, "password") < 0) {
+ if (sql_result_find_field(result, "password") < 0 &&
+ sql_result_find_field(result, "password_noscheme") < 0) {
auth_request_log_error(auth_request, "sql",
"Password query must return a field named "
"'password'");
More information about the dovecot-cvs
mailing list