dovecot-2.1: login: "cert required, client didn't start TLS" err...
    dovecot at dovecot.org 
    dovecot at dovecot.org
       
    Thu Sep 22 01:39:11 EEST 2011
    
    
  
details:   http://hg.dovecot.org/dovecot-2.1/rev/e19a3a2d554d
changeset: 13538:e19a3a2d554d
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 fbbf2802e11f -r e19a3a2d554d src/login-common/client-common.c
--- a/src/login-common/client-common.c	Wed Sep 21 17:51:59 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