cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Does libcurl supports LDAP connections over SOCKS proxy?

From: Anton Malov <malov.anton_at_gmail.com>
Date: Thu, 15 Nov 2012 14:47:58 +0400

On Wed, Nov 14, 2012 at 5:53 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> If you build with openldap (lib/openldap.c) instead, it uses ldap_init_fd()
> and that is supposed to instead work on the given socket instead of trying
> to create a new one.

Tried to set custom socket for LDAP connection using LDAP_OPT_DESC option
http://msdn.microsoft.com/en-us/library/aa367019(VS.85).aspx
This is not working because operation returns 0x35 which stands for
"LDAP_UNWILLING_TO_PERFORM The server is not willing to handle
directory requests."
Seems there is no way to make LDAP connection using custom socket and
Windows libraries.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-15