dovecot-2.2: checkpassword: Set CREDENTIALS_LOOKUP=1 for passdb ...

dovecot at dovecot.org dovecot at dovecot.org
Sun May 20 03:26:27 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/495bda325391
changeset: 14316:495bda325391
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Mar 10 14:28:48 2012 +0200
description:
checkpassword: Set CREDENTIALS_LOOKUP=1 for passdb lookups

diffstat:

 src/auth/db-checkpassword.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r f7c42aa64381 -r 495bda325391 src/auth/db-checkpassword.c
--- a/src/auth/db-checkpassword.c	Sat Mar 10 14:17:37 2012 +0200
+++ b/src/auth/db-checkpassword.c	Sat Mar 10 14:28:48 2012 +0200
@@ -396,6 +396,7 @@
 		env_put("AUTHORIZED=1");
 		if (request->credentials_scheme != NULL) {
 			/* passdb credentials lookup */
+			env_put("CREDENTIALS_LOOKUP=1");
 			env_put(t_strdup_printf("SCHEME=%s",
 						request->credentials_scheme));
 		}


More information about the dovecot-cvs mailing list