[dovecot-cvs] dovecot/src/auth auth-request.c,1.63,1.64
cras at dovecot.org
cras at dovecot.org
Thu Aug 3 19:22:01 EEST 2006
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv11061
Modified Files:
auth-request.c
Log Message:
If master login failed because of non-password failure (eg. allow_nets)
don't continue the authentication to non-master passdbs.
Index: auth-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- auth-request.c 3 Aug 2006 16:21:01 -0000 1.63
+++ auth-request.c 3 Aug 2006 16:21:58 -0000 1.64
@@ -263,6 +263,9 @@
static bool auth_request_master_lookup_finish(struct auth_request *request)
{
+ if (request->passdb_failure)
+ return TRUE;
+
/* master login successful. update user and master_user variables. */
auth_request_log_info(request, "passdb", "Master user logging in as %s",
request->requested_login_user);
More information about the dovecot-cvs
mailing list