dovecot-2.2: auth: If LDAP server returns LDAP_OPERATIONS_ERROR,...

dovecot at dovecot.org dovecot at dovecot.org
Thu Dec 19 23:54:37 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/ea38559ffd4e
changeset: 17080:ea38559ffd4e
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Dec 19 23:54:28 2013 +0200
description:
auth: If LDAP server returns LDAP_OPERATIONS_ERROR, reconnect.
Apparently the server somehow lost the bind.

diffstat:

 src/auth/db-ldap.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r be98fec32cd8 -r ea38559ffd4e src/auth/db-ldap.c
--- a/src/auth/db-ldap.c	Thu Dec 19 23:43:54 2013 +0200
+++ b/src/auth/db-ldap.c	Thu Dec 19 23:54:28 2013 +0200
@@ -283,6 +283,7 @@
 #endif
 	case LDAP_LOCAL_ERROR:
 	case LDAP_INVALID_CREDENTIALS:
+	case LDAP_OPERATIONS_ERROR:
 	default:
 		/* connection problems */
 		ldap_conn_reconnect(conn);


More information about the dovecot-cvs mailing list