From 1c4144a6ce68dbd54c7c08a517d1f982ea57f19a Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 22 Aug 2013 11:03:01 +0200 Subject: LDAP: Make sdap_id_setup_tasks reusable for subdomains Instead of always performing the setup for the main domain, the setup can now be performed for subdomains as well. --- src/providers/ldap/ldap_common.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/providers/ldap/ldap_common.h') diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h index fb45845e..e5b7f115 100644 --- a/src/providers/ldap/ldap_common.h +++ b/src/providers/ldap/ldap_common.h @@ -90,7 +90,12 @@ errno_t sdap_reinit_cleanup_recv(struct tevent_req *req); void sdap_account_info_handler(struct be_req *breq); void sdap_handle_account_info(struct be_req *breq, struct sdap_id_ctx *ctx, struct sdap_id_conn_ctx *conn); -int sdap_id_setup_tasks(struct sdap_id_ctx *ctx); + +/* Set up enumeration and/or cleanup */ +int ldap_id_setup_tasks(struct sdap_id_ctx *ctx); +int sdap_id_setup_tasks(struct sdap_id_ctx *ctx, + struct sdap_id_conn_ctx *conn, + struct sdap_domain *sdom); struct tevent_req * sdap_handle_acct_req_send(TALLOC_CTX *mem_ctx, -- cgit