Hello,

    Periodically reconnect if Kerberos KDC is unavailable.

    https://fedorahosted.org/bind-dyndb-ldap/ticket/100

At the moment, Kerberos libraries contain a memory leak which will be triggered by periodical reconnecting implemented in this ticket.

https://bugzilla.redhat.com/show_bug.cgi?id=911110
https://bugzilla.redhat.com/show_bug.cgi?id=911147

--
Petr^2 Spacek
From bed25248a8c08c2f13027f1dcffecd5ffc60f2dd Mon Sep 17 00:00:00 2001
From: Petr Spacek <pspa...@redhat.com>
Date: Fri, 15 Feb 2013 09:42:41 +0100
Subject: [PATCH] Periodically reconnect if Kerberos KDC is unavailable.

https://fedorahosted.org/bind-dyndb-ldap/ticket/100

Signed-off-by: Petr Spacek <pspa...@redhat.com>
---
 src/ldap_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ldap_helper.c b/src/ldap_helper.c
index 491817813229f988161f3cedc6c83055040ad3ae..509b5019d1c4b8e330cf21aeefc7ef686e747c19 100644
--- a/src/ldap_helper.c
+++ b/src/ldap_helper.c
@@ -2286,7 +2286,7 @@ force_reconnect:
 					      str_buf(ldap_inst->krb5_keytab));
 			UNLOCK(&ldap_inst->kinit_lock);
 			if (result != ISC_R_SUCCESS)
-				return result;
+				return ISC_R_NOTCONNECTED;
 		}
 
 		log_debug(4, "trying interactive bind using %s mechanism",
-- 
1.7.11.7

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to