On 12/11/2015 12:46 PM, Jakub Hrozek wrote:
On Fri, Dec 11, 2015 at 12:19:27PM +0100, Petr Cech wrote:
From 45754d761d6b549e4055f8af38a1229ad2689527 Mon Sep 17 00:00:00 2001
From: Petr Cech <pc...@redhat.com>
Date: Wed, 9 Dec 2015 08:13:59 -0500
Subject: [PATCH] KRB5_CHILD: Debug logs for PAC timeout
This patch adds debug message that inform user when KRB5_CHILD calls
PAC responder. This action might take a bit of time in case the cache
is not populated or up to date.
Resolves:
https://fedorahosted.org/sssd/ticket/2846
---
+ DEBUG(SSSDBG_TRACE_FUNC, "PAC request written to the socket.\n");
Can you use the same message as in the previous patches so that the
admin knows the operation might take some time?
Yes, of course I can. It is attached.
I hope that the debug message is not too long.
Petr
>From 897fd7a64770955a58c2dc7f71acdbf086477e8f Mon Sep 17 00:00:00 2001
From: Petr Cech <pc...@redhat.com>
Date: Wed, 9 Dec 2015 08:13:59 -0500
Subject: [PATCH] KRB5_CHILD: Debug logs for PAC timeout
This patch adds debug message that inform user when KRB5_CHILD calls
PAC responder. This action might take a bit of time in case the cache
is not populated or up to date.
Resolves:
https://fedorahosted.org/sssd/ticket/2846
---
src/providers/krb5/krb5_child.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index b39269ee8028e5992b22860bb8a97b4ff824d087..acee7a986d84e738fa2a95bef12477b1f1c9b953 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -193,6 +193,9 @@ static errno_t sss_send_pac(krb5_authdata **pac_authdata)
ret, errnop);
return EIO;
}
+ DEBUG(SSSDBG_TRACE_FUNC, "PAC responder contacted. It might take a " \
+ "bit of time in case the cache is not " \
+ "up to date.\n");
return EOK;
}
--
2.4.3
_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/sssd-devel@lists.fedorahosted.org