From 298e22fc97a99994e025c0d507737d88fe6fafef Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 25 May 2015 19:44:05 +0200 Subject: IPA: Make constructing an IPA server mode context async Refactoring in preparation for requesting the keytab in future patches. Currently it's a fake async that just marks the request as done. Reviewed-by: Sumit Bose --- src/providers/ipa/ipa_subdomains.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/providers/ipa/ipa_subdomains.h') diff --git a/src/providers/ipa/ipa_subdomains.h b/src/providers/ipa/ipa_subdomains.h index 3c5161d14..8dc3b78f3 100644 --- a/src/providers/ipa/ipa_subdomains.h +++ b/src/providers/ipa/ipa_subdomains.h @@ -48,10 +48,15 @@ struct ipa_ad_server_ctx { }; /* To be used by ipa_subdomains.c only */ -errno_t ipa_ad_subdom_refresh(struct be_ctx *be_ctx, +struct tevent_req * +ipa_server_create_trusts_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct be_ctx *be_ctx, struct ipa_id_ctx *id_ctx, struct sss_domain_info *parent); +errno_t ipa_server_create_trusts_recv(struct tevent_req *req); + void ipa_ad_subdom_remove(struct be_ctx *be_ctx, struct ipa_id_ctx *id_ctx, struct sss_domain_info *subdom); -- cgit