|
|
8d3578 |
From a967afdd0a099d9b4d76bbbda7d37a001f583bbf Mon Sep 17 00:00:00 2001
|
|
|
8d3578 |
From: Sumit Bose <sbose@redhat.com>
|
|
|
8d3578 |
Date: Mon, 4 Nov 2019 16:50:16 +0100
|
|
|
8d3578 |
Subject: [PATCH 103/103] ipa: use the right context for autofs
|
|
|
8d3578 |
MIME-Version: 1.0
|
|
|
8d3578 |
Content-Type: text/plain; charset=UTF-8
|
|
|
8d3578 |
Content-Transfer-Encoding: 8bit
|
|
|
8d3578 |
|
|
|
8d3578 |
Related to https://pagure.io/SSSD/sssd/issue/4111
|
|
|
8d3578 |
|
|
|
8d3578 |
(cherry picked with changes from commit 9ba136ce27308e8b0b8ec921c135433da8569531)
|
|
|
8d3578 |
|
|
|
8d3578 |
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
|
|
|
8d3578 |
---
|
|
|
8d3578 |
src/providers/ipa/ipa_autofs.c | 18 ++++++++++++------
|
|
|
8d3578 |
1 file changed, 12 insertions(+), 6 deletions(-)
|
|
|
8d3578 |
|
|
|
8d3578 |
diff --git a/src/providers/ipa/ipa_autofs.c b/src/providers/ipa/ipa_autofs.c
|
|
|
8d3578 |
index 5f72d60cd..144d12781 100644
|
|
|
8d3578 |
--- a/src/providers/ipa/ipa_autofs.c
|
|
|
8d3578 |
+++ b/src/providers/ipa/ipa_autofs.c
|
|
|
8d3578 |
@@ -48,16 +48,22 @@ errno_t ipa_autofs_init(TALLOC_CTX *mem_ctx,
|
|
|
8d3578 |
}
|
|
|
8d3578 |
|
|
|
8d3578 |
dp_set_method(dp_methods, DPM_AUTOFS_ENUMERATE,
|
|
|
8d3578 |
- sdap_autofs_enumerate_handler_send, sdap_autofs_enumerate_handler_recv, id_ctx,
|
|
|
8d3578 |
- struct sdap_id_ctx, struct dp_autofs_data, struct dp_reply_std);
|
|
|
8d3578 |
+ sdap_autofs_enumerate_handler_send,
|
|
|
8d3578 |
+ sdap_autofs_enumerate_handler_recv,
|
|
|
8d3578 |
+ id_ctx->sdap_id_ctx, struct sdap_id_ctx,
|
|
|
8d3578 |
+ struct dp_autofs_data, struct dp_reply_std);
|
|
|
8d3578 |
|
|
|
8d3578 |
dp_set_method(dp_methods, DPM_AUTOFS_GET_MAP,
|
|
|
8d3578 |
- sdap_autofs_get_map_handler_send, sdap_autofs_get_map_handler_recv, id_ctx,
|
|
|
8d3578 |
- struct sdap_id_ctx, struct dp_autofs_data, struct dp_reply_std);
|
|
|
8d3578 |
+ sdap_autofs_get_map_handler_send,
|
|
|
8d3578 |
+ sdap_autofs_get_map_handler_recv,
|
|
|
8d3578 |
+ id_ctx->sdap_id_ctx, struct sdap_id_ctx,
|
|
|
8d3578 |
+ struct dp_autofs_data, struct dp_reply_std);
|
|
|
8d3578 |
|
|
|
8d3578 |
dp_set_method(dp_methods, DPM_AUTOFS_GET_ENTRY,
|
|
|
8d3578 |
- sdap_autofs_get_entry_handler_send, sdap_autofs_get_entry_handler_recv, id_ctx,
|
|
|
8d3578 |
- struct sdap_id_ctx, struct dp_autofs_data, struct dp_reply_std);
|
|
|
8d3578 |
+ sdap_autofs_get_entry_handler_send,
|
|
|
8d3578 |
+ sdap_autofs_get_entry_handler_recv,
|
|
|
8d3578 |
+ id_ctx->sdap_id_ctx, struct sdap_id_ctx,
|
|
|
8d3578 |
+ struct dp_autofs_data, struct dp_reply_std);
|
|
|
8d3578 |
|
|
|
8d3578 |
return ret;
|
|
|
8d3578 |
}
|
|
|
8d3578 |
--
|
|
|
8d3578 |
2.20.1
|
|
|
8d3578 |
|