diff options
author | Sumit Bose <sbose@redhat.com> | 2015-04-28 20:58:15 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-05-06 11:05:23 +0200 |
commit | 00f8fcd36006bdbe6625460dc1f8c2cf71aedf84 (patch) | |
tree | ab7c6946156c16bd9743f16f89f3c07df6e05f8f /src/providers/ipa/ipa_id.h | |
parent | 395219121cc05beb3592e74914a06e2b5b4ebb50 (diff) | |
download | sssd-00f8fcd36006bdbe6625460dc1f8c2cf71aedf84.tar.gz sssd-00f8fcd36006bdbe6625460dc1f8c2cf71aedf84.tar.xz sssd-00f8fcd36006bdbe6625460dc1f8c2cf71aedf84.zip |
IPA: enhance ipa_initgr_get_overrides_send()
This patch makes ipa_initgr_get_overrides_send() public and add support
to search overrides by UUID or by SID.
Related to https://fedorahosted.org/sssd/ticket/2633
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
(cherry picked from commit 145578006684481434ced78461ab8d1c3570f478)
(cherry picked from commit 58a19d50888b1a7da0ee78b49e7d3dcbebc8614d)
Diffstat (limited to 'src/providers/ipa/ipa_id.h')
-rw-r--r-- | src/providers/ipa/ipa_id.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_id.h b/src/providers/ipa/ipa_id.h index 2bb5e0d38..c03ca037a 100644 --- a/src/providers/ipa/ipa_id.h +++ b/src/providers/ipa/ipa_id.h @@ -119,4 +119,14 @@ errno_t get_object_from_cache(TALLOC_CTX *mem_ctx, struct sss_domain_info *dom, struct be_acct_req *ar, struct ldb_message **_msg); + +struct tevent_req * +ipa_initgr_get_overrides_send(TALLOC_CTX *memctx, + struct tevent_context *ev, + struct ipa_id_ctx *ipa_ctx, + struct sss_domain_info *user_dom, + size_t groups_count, + struct ldb_message **groups, + const char *groups_id_attr); +int ipa_initgr_get_overrides_recv(struct tevent_req *req, int *dp_error); #endif |