Re: ldap_ssl_client_init equivalent?

2010-03-30 Thread masarati
Hi, is there a ldap_ssl_client_init function in the openldap C API? I couldn't find any in the openldap header files. Because there isn't. What is the equivalent of the following ldapsearch query in C using the API, on Linux? ldapsearch -x -H 'ldaps://activedirectory.abc.com/636' -b

Re: ldap_ssl_client_init equivalent?

2010-03-30 Thread Howard Chu
phi...@free.fr wrote: Hi, is there a ldap_ssl_client_init function in the openldap C API? I couldn't find any in the openldap header files. No, nor is one needed. A single ldap_initialize() API does everything needed for all LDAP session types. Requiring a separate API for each connection