[SSSD] [PATCH] Retry the correct service on krb5 child timeout

Jakub Hrozek jhrozek at redhat.com
Mon Mar 18 11:52:43 UTC 2013


We were resolving a different service than we should have been.
-------------- next part --------------
>From 4b74672bbbfa7e7721a4d5dfaefcd505baac6d62 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Mon, 18 Mar 2013 12:37:01 +0100
Subject: [PATCH] Retry the correct service on krb5 child timeout

---
 src/providers/krb5/krb5_auth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c
index d3e11a2db026ecb9365b7e8df0c9e11fc7422ea9..a9b75768cb01d330b6a56eb444b0f9c51beff923 100644
--- a/src/providers/krb5/krb5_auth.c
+++ b/src/providers/krb5/krb5_auth.c
@@ -860,7 +860,7 @@ static void krb5_auth_done(struct tevent_req *subreq)
         be_fo_set_port_status(state->be_ctx, state->krb5_ctx->service->name,
                               search_srv, PORT_NOT_WORKING);
         subreq = be_resolve_server_send(state, state->ev, state->be_ctx,
-                                        state->krb5_ctx->kpasswd_service->name,
+                                        state->krb5_ctx->service->name,
                                         search_srv == NULL ? true : false);
         if (subreq == NULL) {
             DEBUG(1, ("Failed resolved request.\n"));
-- 
1.8.1.4



More information about the sssd-devel mailing list