URL: https://github.com/SSSD/sssd/pull/689
Author: jhrozek
 Title: #689: IFP: Use subreq, not req when calling RefreshRules_recv
Action: opened

PR body:
"""
This emits a failure when refreshing access control rules from e.g. sssctl
access-report.

Resolves: https://pagure.io/SSSD/sssd/issue/3874
"""

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/689/head:pr689
git checkout pr689
From e1de1a46253770e62094f951e905d370dad5f8eb Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhro...@redhat.com>
Date: Mon, 5 Nov 2018 10:53:24 +0100
Subject: [PATCH] IFP: Use subreq, not req when calling RefreshRules_recv

This emits a failure when refreshing access control rules from e.g.
sssctl access-report.

Resolves:
https://pagure.io/SSSD/sssd/issue/3874
---
 src/responder/ifp/ifp_domains.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/responder/ifp/ifp_domains.c b/src/responder/ifp/ifp_domains.c
index ac09f23c6..2020b7580 100644
--- a/src/responder/ifp/ifp_domains.c
+++ b/src/responder/ifp/ifp_domains.c
@@ -1001,7 +1001,7 @@ static void ifp_domains_domain_refresh_access_rules_done(struct tevent_req *subr
 
     req = tevent_req_callback_data(subreq, struct tevent_req);
 
-    ret = sbus_call_dp_access_RefreshRules_recv(req);
+    ret = sbus_call_dp_access_RefreshRules_recv(subreq);
     talloc_zfree(subreq);
     if (ret != EOK) {
         tevent_req_error(req, ret);
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org

Reply via email to