URL: https://github.com/SSSD/sssd/pull/926
Author: sumit-bose
 Title: #926: ipa: use the right context for autofs
Action: opened

PR body:
"""
Related to https://pagure.io/SSSD/sssd/issue/4111
"""

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/926/head:pr926
git checkout pr926
From eee8936b1d12856215ef54ff4a073be6ef21be36 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sb...@redhat.com>
Date: Mon, 4 Nov 2019 16:50:16 +0100
Subject: [PATCH] ipa: use the right context for autofs

Related to https://pagure.io/SSSD/sssd/issue/4111
---
 src/providers/ipa/ipa_autofs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/providers/ipa/ipa_autofs.c b/src/providers/ipa/ipa_autofs.c
index 6e72fe887d..e7f1ecbc10 100644
--- a/src/providers/ipa/ipa_autofs.c
+++ b/src/providers/ipa/ipa_autofs.c
@@ -52,11 +52,11 @@ errno_t ipa_autofs_init(TALLOC_CTX *mem_ctx,
                   struct sdap_id_ctx, struct dp_autofs_data, dp_no_output);
 
     dp_set_method(dp_methods, DPM_AUTOFS_GET_MAP,
-                  sdap_autofs_get_map_handler_send, sdap_autofs_get_map_handler_recv, id_ctx,
+                  sdap_autofs_get_map_handler_send, sdap_autofs_get_map_handler_recv, id_ctx->sdap_id_ctx,
                   struct sdap_id_ctx, struct dp_autofs_data, dp_no_output);
 
     dp_set_method(dp_methods, DPM_AUTOFS_GET_ENTRY,
-                  sdap_autofs_get_entry_handler_send, sdap_autofs_get_entry_handler_recv, id_ctx,
+                  sdap_autofs_get_entry_handler_send, sdap_autofs_get_entry_handler_recv, id_ctx->sdap_id_ctx,
                   struct sdap_id_ctx, struct dp_autofs_data, dp_no_output);
 
     return 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://docs.fedoraproject.org/en-US/project/code-of-conduct/
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