Mercurial > dovecot > core-2.2
diff src/lib-master/master-login-auth.c @ 10589:cab5f2e7b806 HEAD
auth master lookups: If request isn't found, return FAIL instead of NOTFOUND.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 27 Jan 2010 21:29:19 +0200 |
parents | 615eef3139c2 |
children | 2e08ce368bc0 |
line wrap: on
line diff
--- a/src/lib-master/master-login-auth.c Wed Jan 27 21:25:44 2010 +0200 +++ b/src/lib-master/master-login-auth.c Wed Jan 27 21:29:19 2010 +0200 @@ -151,7 +151,7 @@ id = (unsigned int)strtoul(args, NULL, 10); request = master_login_auth_lookup_request(auth, id); if (request != NULL) { - i_error("Auth request not found (timed out?): %u", id); + i_error("Authenticated user not found from userdb"); request->callback(NULL, request->context); i_free(request); } @@ -172,6 +172,7 @@ id = (unsigned int)strtoul(args, NULL, 10); request = master_login_auth_lookup_request(auth, id); if (request != NULL) { + i_error("Internal auth failure"); request->callback(NULL, request->context); i_free(request); }