[dovecot-cvs] dovecot/src/auth passdb-cache.c,1.11,1.12

cras at dovecot.org cras at dovecot.org
Fri Oct 7 13:43:30 EEST 2005


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

Modified Files:
	passdb-cache.c 
Log Message:
Added some more verbosity to cache lookups.



Index: passdb-cache.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-cache.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- passdb-cache.c	15 Jun 2005 08:05:04 -0000	1.11
+++ passdb-cache.c	7 Oct 2005 10:43:28 -0000	1.12
@@ -49,6 +49,7 @@
 
 	if (*value == '\0') {
 		/* negative cache entry */
+		auth_request_log_info(request, "cache", "User unknown");
 		*result_r = PASSDB_RESULT_USER_UNKNOWN;
 		return TRUE;
 	}
@@ -59,6 +60,7 @@
 	cached_pw = list[0];
 	if (*cached_pw == '\0') {
 		/* NULL password */
+		auth_request_log_info(request, "cache", "NULL password access");
 		*result_r = PASSDB_RESULT_OK;
 		return TRUE;
 	}



More information about the dovecot-cvs mailing list