diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-12-16 02:41:53 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-01-29 14:08:51 +0100 |
commit | 19fd860d78256a4ab5a268cd58337a8bd2920ceb (patch) | |
tree | d108d6544201f94502c5c4d1d5c1f4696327f167 /src/providers/ldap/sdap_async_enum.h | |
parent | f8407faaeb6726bef6463d84f183f2b0ad1f99d4 (diff) | |
download | sssd-19fd860d78256a4ab5a268cd58337a8bd2920ceb.tar.gz sssd-19fd860d78256a4ab5a268cd58337a8bd2920ceb.tar.xz sssd-19fd860d78256a4ab5a268cd58337a8bd2920ceb.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.h | 11 |
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, |