From 3d28e0e560b787b5c57ed7327d184310342a7e38 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 19 Jun 2013 10:51:19 +0200 Subject: IPA: Look up AD users directly if IPA server mode is on https://fedorahosted.org/sssd/ticket/1962 If the ipa_server_mode is selected IPA subdomain user and group lookups are not done with the help of the extdom plugin but directly against AD using the AD ID code. --- src/providers/ad/ad_id.c | 4 ++-- src/providers/ad/ad_id.h | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'src/providers/ad') diff --git a/src/providers/ad/ad_id.c b/src/providers/ad/ad_id.c index 9c4abc8c..48ad8425 100644 --- a/src/providers/ad/ad_id.c +++ b/src/providers/ad/ad_id.c @@ -38,7 +38,7 @@ struct ad_handle_acct_info_state { static errno_t ad_handle_acct_info_step(struct tevent_req *req); static void ad_handle_acct_info_done(struct tevent_req *subreq); -static struct tevent_req * +struct tevent_req * ad_handle_acct_info_send(TALLOC_CTX *mem_ctx, struct be_req *breq, struct be_acct_req *ar, @@ -152,7 +152,7 @@ ad_handle_acct_info_done(struct tevent_req *subreq) /* Another lookup in progress */ } -static errno_t +errno_t ad_handle_acct_info_recv(struct tevent_req *req, int *_dp_error, const char **_err) { diff --git a/src/providers/ad/ad_id.h b/src/providers/ad/ad_id.h index 47fc3b33..1fd6b599 100644 --- a/src/providers/ad/ad_id.h +++ b/src/providers/ad/ad_id.h @@ -26,6 +26,17 @@ void ad_account_info_handler(struct be_req *breq); +struct tevent_req * +ad_handle_acct_info_send(TALLOC_CTX *mem_ctx, + struct be_req *breq, + struct be_acct_req *ar, + struct sdap_id_ctx *ctx, + struct sdap_domain *sdom, + struct sdap_id_conn_ctx **conn); +errno_t +ad_handle_acct_info_recv(struct tevent_req *req, + int *_dp_error, const char **_err); + void ad_check_online(struct be_req *be_req); #endif /* AD_ID_H_ */ -- cgit