From: Timo Sirainen Date: Tue, 26 May 2009 17:48:18 +0000 (-0400) Subject: auth: Improved "Password not in expected scheme" error message. X-Git-Tag: 2.0.alpha1~669 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88f73e2ed3e99417255c90890fa46e11e6378c9d;p=thirdparty%2Fdovecot%2Fcore.git auth: Improved "Password not in expected scheme" error message. --HG-- branch : HEAD --- diff --git a/src/auth/auth-request.c b/src/auth/auth-request.c index 79eadaff51..4565df25cd 100644 --- a/src/auth/auth-request.c +++ b/src/auth/auth-request.c @@ -1297,7 +1297,7 @@ int auth_request_password_verify(struct auth_request *request, if (ret <= 0) { if (ret < 0) { auth_request_log_error(request, subsystem, - "Invalid password format for scheme %s", + "Password in passdb is not in expected scheme %s", scheme); } else { auth_request_log_error(request, subsystem, diff --git a/src/auth/passdb.c b/src/auth/passdb.c index f51c498bcb..1958e983e8 100644 --- a/src/auth/passdb.c +++ b/src/auth/passdb.c @@ -72,7 +72,7 @@ bool passdb_get_credentials(struct auth_request *auth_request, if (ret <= 0) { if (ret < 0) { auth_request_log_error(auth_request, "password", - "Invalid password format for scheme %s", + "Password in passdb is not in expected scheme %s", input_scheme); } else { auth_request_log_error(auth_request, "password",