summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_enum.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-12-16 02:41:53 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-01-29 17:27:55 +0100
commitc5ae054095bed216cb70f3b929b3ac5497bc260a (patch)
tree2ac472435d9bce8b3bdede5c4c05dc50ac86c4bb /src/providers/ldap/sdap_async_enum.h
parente0502a6c5bc30415c372e9e6e835b94b04d5195a (diff)
downloadsssd-c5ae054095bed216cb70f3b929b3ac5497bc260a.tar.gz
sssd-c5ae054095bed216cb70f3b929b3ac5497bc260a.tar.xz
sssd-c5ae054095bed216cb70f3b929b3ac5497bc260a.zip
LDAP: Add enum request with custom connection
This commit changes the enumerate-sdap-domain request to accept a connection context per object that can be enumerated. Internally in the request, an sdap_id_op is also created per enumerated object type. This change will allow i.e. users to be enumerated using GC connection, while keeping the LDAP connection for groups and services.
Diffstat (limited to 'src/providers/ldap/sdap_async_enum.h')
-rw-r--r--src/providers/ldap/sdap_async_enum.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_enum.h b/src/providers/ldap/sdap_async_enum.h
index 04ec8c6dc..2da38f988 100644
--- a/src/providers/ldap/sdap_async_enum.h
+++ b/src/providers/ldap/sdap_async_enum.h
@@ -27,6 +27,17 @@
#define _SDAP_ASYNC_ENUM_H_
struct tevent_req *
+sdap_dom_enum_ex_send(TALLOC_CTX *memctx,
+ struct tevent_context *ev,
+ struct sdap_id_ctx *ctx,
+ struct sdap_domain *sdom,
+ struct sdap_id_conn_ctx *user_conn,
+ struct sdap_id_conn_ctx *group_conn,
+ struct sdap_id_conn_ctx *svc_conn);
+
+errno_t sdap_dom_enum_ex_recv(struct tevent_req *req);
+
+struct tevent_req *
sdap_dom_enum_send(TALLOC_CTX *memctx,
struct tevent_context *ev,
struct sdap_id_ctx *ctx,