[dovecot-cvs] dovecot/src/auth auth-request.c,1.53,1.54

cras at dovecot.org cras at dovecot.org
Sun Apr 9 14:34:17 EEST 2006


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

Modified Files:
	auth-request.c 
Log Message:
Master login attempts weren't logged if no master passdbs were defined.



Index: auth-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- auth-request.c	8 Apr 2006 08:44:11 -0000	1.53
+++ auth-request.c	9 Apr 2006 11:34:15 -0000	1.54
@@ -389,7 +389,9 @@
         if (request->passdb == NULL) {
                 /* no masterdbs, master logins not supported */
                 i_assert(request->requested_login_user != NULL);
-                callback(PASSDB_RESULT_USER_UNKNOWN, request);
+		auth_request_log_info(request, "passdb",
+			"Attempted master login with no master passdbs");
+		callback(PASSDB_RESULT_USER_UNKNOWN, request);
 		return;
         }
 



More information about the dovecot-cvs mailing list