dovecot-1.1: Another caching fix to blocking passdbs when using ...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jan 26 03:10:44 EET 2009


details:   http://hg.dovecot.org/dovecot-1.1/rev/69901064e657
changeset: 8128:69901064e657
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jan 25 20:10:39 2009 -0500
description:
Another caching fix to blocking passdbs when using non-plaintext auth.

diffstat:

1 file changed, 5 insertions(+)
src/auth/auth-worker-client.c |    5 +++++

diffs (15 lines):

diff -r 943339025578 -r 69901064e657 src/auth/auth-worker-client.c
--- a/src/auth/auth-worker-client.c	Sun Jan 25 20:10:17 2009 -0500
+++ b/src/auth/auth-worker-client.c	Sun Jan 25 20:10:39 2009 -0500
@@ -219,6 +219,11 @@ lookup_credentials_callback(enum passdb_
 		if (request->extra_fields != NULL) {
 			const char *fields =
 				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)


More information about the dovecot-cvs mailing list