From 05c53cfcee72dcb9e6103de7877ede220369ccf4 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Tue, 16 Apr 2013 15:09:34 +0200 Subject: sdap: add sdap_connect_host request Create connection to specified LDAP server without using any failover stuff. --- src/providers/ldap/sdap_async.h | 15 +++++++++++++++ 1 file changed, 15 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 59269110..eedf8a70 100644 --- a/src/providers/ldap/sdap_async.h +++ b/src/providers/ldap/sdap_async.h @@ -43,6 +43,21 @@ int sdap_connect_recv(struct tevent_req *req, TALLOC_CTX *memctx, struct sdap_handle **sh); +struct tevent_req *sdap_connect_host_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct sdap_options *opts, + struct resolv_ctx *resolv_ctx, + enum restrict_family family_order, + enum host_database *host_db, + const char *protocol, + const char *host, + int port, + bool use_start_tls); + +errno_t sdap_connect_host_recv(TALLOC_CTX *mem_ctx, + struct tevent_req *req, + struct sdap_handle **_sh); + struct tevent_req *sdap_get_users_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sss_domain_info *dom, -- cgit