dovecot-1.1: Mention SSL/TLS in "plaintext auth disallowed" error.

dovecot at dovecot.org dovecot at dovecot.org
Wed Dec 17 20:11:52 EET 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/23e3c56524fe
changeset: 8052:23e3c56524fe
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Dec 17 20:11:46 2008 +0200
description:
Mention SSL/TLS in "plaintext auth disallowed" error.

diffstat:

2 files changed, 3 insertions(+), 3 deletions(-)
src/imap-login/client-authenticate.c |    4 ++--
src/login-common/common.h            |    2 +-

diffs (26 lines):

diff -r e7bb92a42ca9 -r 23e3c56524fe src/imap-login/client-authenticate.c
--- a/src/imap-login/client-authenticate.c	Tue Dec 16 06:07:48 2008 +0200
+++ b/src/imap-login/client-authenticate.c	Wed Dec 17 20:11:46 2008 +0200
@@ -335,8 +335,8 @@ int cmd_login(struct imap_client *client
 		client->common.auth_tried_disabled_plaintext = TRUE;
 		client->common.auth_attempts++;
 		client_send_line(client,
-			"* BAD [ALERT] Plaintext authentication is disabled, "
-			"but your client sent password in plaintext anyway. "
+			"* BAD [ALERT] Plaintext authentication not allowed "
+			"without SSL/TLS, but your client did it anyway. "
 			"If anyone was listening, the password was exposed.");
 		client_send_tagline(client, "NO "AUTH_PLAINTEXT_DISABLED_MSG);
 		return 1;
diff -r e7bb92a42ca9 -r 23e3c56524fe src/login-common/common.h
--- a/src/login-common/common.h	Tue Dec 16 06:07:48 2008 +0200
+++ b/src/login-common/common.h	Wed Dec 17 20:11:46 2008 +0200
@@ -9,7 +9,7 @@
 #define AUTH_FAILED_MSG "Authentication failed."
 #define AUTH_TEMP_FAILED_MSG "Temporary authentication failure."
 #define AUTH_PLAINTEXT_DISABLED_MSG \
-	"Plaintext authentication disallowed on non-secure connections."
+	"Plaintext authentication disallowed on non-secure (SSL/TLS) connections."
 
 extern const char *login_protocol;
 


More information about the dovecot-cvs mailing list