dovecot-2.2: auth: Fixed multiple master passdbs.

dovecot at dovecot.org dovecot at dovecot.org
Tue Apr 16 16:20:40 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/854469baa57c
changeset: 16291:854469baa57c
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Apr 16 16:20:30 2013 +0300
description:
auth: Fixed multiple master passdbs.

diffstat:

 src/auth/auth-request.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r f33bacb03cc2 -r 854469baa57c src/auth/auth-request.c
--- a/src/auth/auth-request.c	Tue Apr 16 15:54:05 2013 +0300
+++ b/src/auth/auth-request.c	Tue Apr 16 16:20:30 2013 +0300
@@ -583,7 +583,8 @@
 		request->skip_password_check = TRUE;
 	}
 
-	if (request->requested_login_user != NULL) {
+	if (request->requested_login_user != NULL &&
+	    *result == PASSDB_RESULT_OK) {
 		auth_request_master_lookup_finish(request);
 		/* if the passdb lookup continues, it continues with non-master
 		   passdbs for the requested_login_user. */


More information about the dovecot-cvs mailing list