cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl to ldap

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 9 Nov 2011 11:20:50 -0800

On Wed, Nov 09, 2011 at 06:39:12AM -0800, Kalju Kaik wrote:
> Is there a way to pass the user and password as a file to ldap instead of
> sending it as part of the curl string?

You're posting this to the curl-library list, so the answer is yes, your
application can retrieve the user and password from any kind of file it
wants and pass them in to libcurl using the CURLOPT_USERPWD or
CURLOPT_USERNAME and CURLOPT_PASSWORD options.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-09