From 7c8f422495347e6ff829246ebf5d7faad9f6d160 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Tue, 19 Jan 2010 12:32:02 +0100 Subject: Use ldap connection callbacks to get file descriptors --- server/providers/ldap/sdap_async_private.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'server/providers/ldap/sdap_async_private.h') diff --git a/server/providers/ldap/sdap_async_private.h b/server/providers/ldap/sdap_async_private.h index 9237f15d..5549626a 100644 --- a/server/providers/ldap/sdap_async_private.h +++ b/server/providers/ldap/sdap_async_private.h @@ -26,8 +26,11 @@ void make_realm_upper_case(const char *upn); struct sdap_handle *sdap_handle_create(TALLOC_CTX *memctx); -int sdap_install_ldap_callbacks(struct sdap_handle *sh, - struct tevent_context *ev); + +int sdap_ldap_connect_callback_add(LDAP *ld, Sockbuf *sb, LDAPURLDesc *srv, + struct sockaddr *addr, struct ldap_conncb *ctx); +void sdap_ldap_connect_callback_del(LDAP *ld, Sockbuf *sb, + struct ldap_conncb *ctx); int sdap_op_add(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_handle *sh, int msgid, -- cgit