Mercurial > dovecot > core-2.2
changeset 3311:1de641419e81 HEAD
We weren't sending proxy's password back with blocking passdb.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 21 Apr 2005 19:33:47 +0300 |
parents | 0bd02518613a |
children | 3cd4ae5f1210 |
files | src/auth/auth-worker-client.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/auth-worker-client.c Thu Apr 21 19:15:44 2005 +0300 +++ b/src/auth/auth-worker-client.c Thu Apr 21 19:33:47 2005 +0300 @@ -95,6 +95,11 @@ if (request->passdb_password != NULL) str_append(str, request->passdb_password); str_append_c(str, '\t'); + if (request->proxy) { + /* we're proxying - send back the password that was + sent by user (not the password in passdb). */ + str_printfa(str, "pass=%s\t", request->mech_password); + } if (request->extra_fields != NULL) str_append_str(str, request->extra_fields); }