dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone
Blob Blame History Raw
From 4777e706ed485ea61ebb0006c00a3d85440ffe70 Mon Sep 17 00:00:00 2001
From: Pavel Reichl <preichl@redhat.com>
Date: Tue, 21 Jan 2014 12:14:01 +0000
Subject: [PATCH 61/62] 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 d6c1dc1f9707444a82e433a375839cadf73f1259..a0e8f610bbb27a25afa6171763a128dc7b8ea04d 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));
 
     ret = kill(state->child_pid, SIGKILL);
     if (ret == -1) {
-- 
1.8.4.2