dovecot-1.1: auth: Improved "user not found from userdb" error m...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Nov 15 19:14:49 EET 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/7cd102d926bb
changeset: 8006:7cd102d926bb
user: Timo Sirainen <tss at iki.fi>
date: Sat Nov 15 19:06:51 2008 +0200
description:
auth: Improved "user not found from userdb" error message.
diffstat:
1 file changed, 8 insertions(+), 2 deletions(-)
src/auth/auth-request.c | 10 ++++++++--
diffs (20 lines):
diff -r c12c86ef42ce -r 7cd102d926bb src/auth/auth-request.c
--- a/src/auth/auth-request.c Sat Nov 15 19:03:16 2008 +0200
+++ b/src/auth/auth-request.c Sat Nov 15 19:06:51 2008 +0200
@@ -702,8 +702,14 @@ void auth_request_userdb_callback(enum u
request->client_pid != 0) {
/* this was an actual login attempt, the user should
have been found. */
- auth_request_log_error(request, "userdb",
- "user not found from userdb");
+ if (request->auth->userdbs->next == NULL) {
+ auth_request_log_error(request, "userdb",
+ "user not found from userdb %s",
+ request->auth->userdbs->userdb->iface->name);
+ } else {
+ auth_request_log_error(request, "userdb",
+ "user not found from any userdbs");
+ }
}
if (result != USERDB_RESULT_INTERNAL_FAILURE)
More information about the dovecot-cvs
mailing list