[dovecot-cvs] dovecot/src/auth auth-request.c,1.9,1.10

cras at dovecot.org cras at dovecot.org
Sun Feb 27 01:21:46 EET 2005


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv3652

Modified Files:
	auth-request.c 
Log Message:
Last changes broke proxying when user was in auth cache.



Index: auth-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- auth-request.c	26 Feb 2005 22:55:03 -0000	1.9
+++ auth-request.c	26 Feb 2005 23:21:43 -0000	1.10
@@ -156,6 +156,8 @@
 	enum passdb_result result;
 	const char *cache_key;
 
+	request->mech_password = p_strdup(request->pool, password);
+
 	cache_key = passdb_cache == NULL ? NULL : passdb->cache_key;
 	if (cache_key != NULL) {
 		if (passdb_cache_verify_plain(request, cache_key, password,
@@ -165,7 +167,6 @@
 		}
 	}
 
-	request->mech_password = p_strdup(request->pool, password);
 	request->private_callback.verify_plain = callback;
 	passdb->verify_plain(request, password,
 			     auth_request_verify_plain_callback);



More information about the dovecot-cvs mailing list