From 60cab26b12df9a2153823972cde0c38ca86e01b9 Mon Sep 17 00:00:00 2001 From: Yassir Elley Date: Mon, 20 Jan 2014 11:17:06 -0500 Subject: Implemented LDAP component of GPO-based access control Reviewed-by: Sumit Bose Reviewed-by: Jakub Hrozek --- src/providers/ldap/sdap_async.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/providers/ldap/sdap_async.h') diff --git a/src/providers/ldap/sdap_async.h b/src/providers/ldap/sdap_async.h index 593404af3..808254a24 100644 --- a/src/providers/ldap/sdap_async.h +++ b/src/providers/ldap/sdap_async.h @@ -219,6 +219,20 @@ sdap_posix_check_send(TALLOC_CTX *memctx, struct tevent_context *ev, int sdap_posix_check_recv(struct tevent_req *req, bool *_has_posix); +struct tevent_req * +sdap_sd_search_send(TALLOC_CTX *memctx, + struct tevent_context *ev, + struct sdap_options *opts, + struct sdap_handle *sh, + const char *base_dn, + int sd_flags, + const char **attrs, + int timeout); +int sdap_sd_search_recv(struct tevent_req *req, + TALLOC_CTX *mem_ctx, + size_t *reply_count, + struct sysdb_attrs ***reply); + errno_t sdap_attrs_add_ldap_attr(struct sysdb_attrs *ldap_attrs, const char *attr_name, -- cgit