cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: LDAPS support

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Aug 2007 23:50:34 +0200 (CEST)

On Wed, 22 Aug 2007, Guenter Knauf wrote:

>> Have you built/tried ldaps on Linux? If so, what did you use/install for that?

> for testing I edited ./lib/config.h after configure run and added a '#define
> HAVE_LDAP_SSL 1'.

Oh right. When I do that I get ldaps supported but I get nothing returned:

$ ./src/curl "ldaps://ldap.openldap.org/dc=openldap,dc=org?one" -v
* About to connect() to ldap.openldap.org port 636 (#0)
* Trying 204.152.186.57... connected
* Connected to ldap.openldap.org (204.152.186.57) port 636 (#0)
* LDAP local: LDAP Vendor = OpenLDAP ; LDAP Version = 20130
* LDAP local: ldaps://ldap.openldap.org/dc=openldap,dc=org?one
* LDAP local: trying to establish encrypted connection
DN: dc=OpenLDAP,dc=Org
* Closing connection #0

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-08-23