From 8a4c8e3f8527015c4c5c32abda20ceddb6eb2f0f Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 17 Nov 2011 00:55:04 +0100 Subject: s3-smbldap: move ldap_open_with_timeout out of smb_ldap.h to ads where it lives. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Thu Nov 17 03:47:53 CET 2011 on sn-devel-104 --- source3/libads/ads_ldap_protos.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/libads') diff --git a/source3/libads/ads_ldap_protos.h b/source3/libads/ads_ldap_protos.h index 0fb7134994..83b6fc13da 100644 --- a/source3/libads/ads_ldap_protos.h +++ b/source3/libads/ads_ldap_protos.h @@ -24,10 +24,17 @@ #ifndef _LIBADS_ADS_LDAP_PROTOS_H_ #define _LIBADS_ADS_LDAP_PROTOS_H_ +#ifdef HAVE_LDAP_INIT_FD +int ldap_init_fd(ber_socket_t fd, int proto, char *uri, LDAP **ldp); +#endif + /* * Prototypes for ads */ +LDAP *ldap_open_with_timeout(const char *server, + struct sockaddr_storage *ss, + int port, unsigned int to); void ads_msgfree(ADS_STRUCT *ads, LDAPMessage *msg); char *ads_get_dn(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, LDAPMessage *msg); -- cgit