[Freeipa-devel] [PATCH 0113] Periodically reconnect if Kerberos KDC is unavailable
Adam Tkac
atkac at redhat.com
Mon Mar 4 14:46:22 UTC 2013
On Fri, Feb 15, 2013 at 09:53:46AM +0100, Petr Spacek wrote:
> 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
Ack
> From bed25248a8c08c2f13027f1dcffecd5ffc60f2dd Mon Sep 17 00:00:00 2001
> From: Petr Spacek <pspacek at 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 <pspacek at 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
>
--
Adam Tkac, Red Hat, Inc.
More information about the Freeipa-devel
mailing list