Blame SOURCES/0060-IFP-Use-subreq-not-req-when-calling-RefreshRules_rec.patch

71e593
From 0882793e4ba018073c2db9ab390bcdf16276b65f Mon Sep 17 00:00:00 2001
71e593
From: Jakub Hrozek <jhrozek@redhat.com>
71e593
Date: Mon, 5 Nov 2018 10:53:24 +0100
71e593
Subject: [PATCH] IFP: Use subreq, not req when calling RefreshRules_recv
71e593
MIME-Version: 1.0
71e593
Content-Type: text/plain; charset=UTF-8
71e593
Content-Transfer-Encoding: 8bit
71e593
71e593
This emits a failure when refreshing access control rules from e.g.
71e593
sssctl access-report.
71e593
71e593
Resolves:
71e593
https://pagure.io/SSSD/sssd/issue/3874
71e593
71e593
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
71e593
---
71e593
 src/responder/ifp/ifp_domains.c | 2 +-
71e593
 1 file changed, 1 insertion(+), 1 deletion(-)
71e593
71e593
diff --git a/src/responder/ifp/ifp_domains.c b/src/responder/ifp/ifp_domains.c
71e593
index ac09f23c6..2020b7580 100644
71e593
--- a/src/responder/ifp/ifp_domains.c
71e593
+++ b/src/responder/ifp/ifp_domains.c
71e593
@@ -1001,7 +1001,7 @@ static void ifp_domains_domain_refresh_access_rules_done(struct tevent_req *subr
71e593
 
71e593
     req = tevent_req_callback_data(subreq, struct tevent_req);
71e593
 
71e593
-    ret = sbus_call_dp_access_RefreshRules_recv(req);
71e593
+    ret = sbus_call_dp_access_RefreshRules_recv(subreq);
71e593
     talloc_zfree(subreq);
71e593
     if (ret != EOK) {
71e593
         tevent_req_error(req, ret);
71e593
-- 
71e593
2.19.1
71e593