From: Timo Sirainen Date: Sat, 10 Mar 2012 12:28:48 +0000 (+0200) Subject: checkpassword: Set CREDENTIALS_LOOKUP=1 for passdb lookups X-Git-Tag: 2.1.2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da11064e816463cf2bf7961d9fa2c8aa22d22c52;p=thirdparty%2Fdovecot%2Fcore.git checkpassword: Set CREDENTIALS_LOOKUP=1 for passdb lookups --- diff --git a/src/auth/db-checkpassword.c b/src/auth/db-checkpassword.c index d0b1f1e483..e29687e169 100644 --- a/src/auth/db-checkpassword.c +++ b/src/auth/db-checkpassword.c @@ -396,6 +396,7 @@ checkpassword_exec(struct db_checkpassword *db, struct auth_request *request, 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)); }