dovecot-2.0: login: "cert required, client didn't start TLS" err...

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 22 01:38:50 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/956bfcc89dea
changeset: 12935:956bfcc89dea
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 22 01:38:34 2011 +0300
description:
login: "cert required, client didn't start TLS" error could have been logged wrongly.

diffstat:

 src/login-common/client-common.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 6b7242ead6ed -r 956bfcc89dea src/login-common/client-common.c
--- a/src/login-common/client-common.c	Mon Sep 19 14:25:29 2011 +0300
+++ b/src/login-common/client-common.c	Thu Sep 22 01:38:34 2011 +0300
@@ -511,7 +511,8 @@
 	/* some auth attempts without SSL/TLS */
 	if (client->auth_tried_disabled_plaintext)
 		return "(tried to use disabled plaintext auth)";
-	if (client->set->auth_ssl_require_client_cert)
+	if (client->set->auth_ssl_require_client_cert &&
+	    client->ssl_proxy == NULL)
 		return "(cert required, client didn't start TLS)";
 	if (client->auth_tried_unsupported_mech)
 		return "(tried to use unsupported auth mechanism)";


More information about the dovecot-cvs mailing list