[SSSD] sssd_be should hint about increasing the krb5_auth_timeout

Lukas Slebodnik lslebodn at redhat.com
Wed Jan 22 18:31:08 UTC 2014


On (21/01/14 13:27), Pavel Reichl wrote:
>Hello,
>
>please see attached patch.
>
>PR

>From b7b7fe5edb942648d201885aeca2eb33066a02a9 Mon Sep 17 00:00:00 2001
>From: Pavel Reichl <preichl at redhat.com>
>Date: Tue, 21 Jan 2014 12:14:01 +0000
>Subject: [PATCH] krb5: hint to increase krb5_auth_timeout
>
>Resolves:
>https://fedorahosted.org/sssd/ticket/2202
>---
> src/providers/krb5/krb5_child_handler.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
>diff --git a/src/providers/krb5/krb5_child_handler.c b/src/providers/krb5/krb5_child_handler.c
>index c872b402d5725641ff0c752e03dd915f8530bc51..bf3562f9d792a242df0102a57f82c161357c720b 100644
>--- a/src/providers/krb5/krb5_child_handler.c
>+++ b/src/providers/krb5/krb5_child_handler.c
>@@ -254,7 +254,10 @@ static void krb5_child_timeout(struct tevent_context *ev,
>         return;
>     }
>
>-    DEBUG(9, ("timeout for child [%d] reached.\n", state->child_pid));
>+    DEBUG(SSSDBG_IMPORTANT_INFO,
>+          ("Timeout for child [%d] reached. In case KDC is distant or network "
>+           "is slow you may consider increasing value of krb5_auth_timeout.\n",
>+           state->child_pid));
Works for me.

ACK

LS




More information about the sssd-devel mailing list