cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl problem on ldap with tls

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 31 Mar 2015 13:42:32 -0400

On 3/31/2015 4:50 AM, 林聖艦 wrote:
> I want to use curl ldap api with tls protocol.
> Now I know I can use following setting:
> curl_easy_setopt(curl, CURLOPT_URL, "ldap://xxx.xxx");
> or
> curl_easy_setopt(curl, CURLOPT_URL, "ldap://xxx.xxx");
> if ssl protocol.
>
> Here is my question:
> How to use ldap with tls?

If your build has ldaps support you can do ldaps://xxx.xxx

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-31