dovecot: Actually reconnect always if ldap_result() fails for an...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Sep 10 09:27:22 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/f7cc3723ad99
changeset: 6369:f7cc3723ad99
user: Timo Sirainen <tss at iki.fi>
date: Mon Sep 10 09:27:14 2007 +0300
description:
Actually reconnect always if ldap_result() fails for any reason. There
really aren't any other choices.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/auth/db-ldap.c | 2 +-
diffs (12 lines):
diff -r a930c2ecd73c -r f7cc3723ad99 src/auth/db-ldap.c
--- a/src/auth/db-ldap.c Mon Sep 10 09:24:10 2007 +0300
+++ b/src/auth/db-ldap.c Mon Sep 10 09:27:14 2007 +0300
@@ -394,7 +394,7 @@ static void ldap_input(struct ldap_conne
if (ret < 0) {
i_error("LDAP: ldap_result() failed: %s", ldap_get_error(conn));
- ldap_handle_error(conn);
+ ldap_conn_reconnect(conn);
} else {
if (!conn->binding)
db_ldap_handle_next_delayed_request(conn);
More information about the dovecot-cvs
mailing list