summaryrefslogtreecommitdiff
path: root/src/providers/ldap/ldap_common.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-08-22 11:03:01 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-28 18:06:57 +0200
commit1c4144a6ce68dbd54c7c08a517d1f982ea57f19a (patch)
treec81298a84cd4160834999821a179faf666fd4cc9 /src/providers/ldap/ldap_common.h
parent66edf42c51f8591c93204b6490c103fa51346f47 (diff)
downloadsssd-1c4144a6ce68dbd54c7c08a517d1f982ea57f19a.tar.gz
sssd-1c4144a6ce68dbd54c7c08a517d1f982ea57f19a.tar.bz2
sssd-1c4144a6ce68dbd54c7c08a517d1f982ea57f19a.zip
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.
Diffstat (limited to 'src/providers/ldap/ldap_common.h')
-rw-r--r--src/providers/ldap/ldap_common.h7
1 files changed, 6 insertions, 1 deletions
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,