From: Timo Sirainen Date: Mon, 26 Jan 2009 01:11:24 +0000 (-0500) Subject: Another caching fix to blocking passdbs when using non-plaintext auth. X-Git-Tag: 1.2.beta1~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=938835576b218f6bb9498d829cef9514f8609c6f;p=thirdparty%2Fdovecot%2Fcore.git Another caching fix to blocking passdbs when using non-plaintext auth. --HG-- branch : HEAD --- diff --git a/src/auth/auth-worker-client.c b/src/auth/auth-worker-client.c index 1eccb0ffea..6e1915c738 100644 --- a/src/auth/auth-worker-client.c +++ b/src/auth/auth-worker-client.c @@ -223,6 +223,11 @@ lookup_credentials_callback(enum passdb_result result, auth_stream_reply_export(request->extra_fields); auth_stream_reply_import(reply, fields); } + if (request->extra_cache_fields != NULL) { + const char *fields = + auth_stream_reply_export(request->extra_cache_fields); + auth_stream_reply_import(reply, fields); + } if (request->userdb_reply != NULL) add_userdb_replies(reply, request->userdb_reply); }