summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_async.h
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-04-16 15:09:34 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-02 16:48:12 +0200
commit05c53cfcee72dcb9e6103de7877ede220369ccf4 (patch)
tree08634882561a584601310124bcbb224e244ef3c4 /src/providers/ldap/sdap_async.h
parente653ff7a341dc8003dc12179d983f513c9789a5d (diff)
downloadsssd-05c53cfcee72dcb9e6103de7877ede220369ccf4.tar.gz
sssd-05c53cfcee72dcb9e6103de7877ede220369ccf4.tar.bz2
sssd-05c53cfcee72dcb9e6103de7877ede220369ccf4.zip
sdap: add sdap_connect_host request
Create connection to specified LDAP server without using any failover stuff.
Diffstat (limited to 'src/providers/ldap/sdap_async.h')
-rw-r--r--src/providers/ldap/sdap_async.h15
1 files changed, 15 insertions, 0 deletions
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,