cURL / Mailing Lists / curl-library / Single Mail



From: Guenter Knauf <>
Date: Wed, 15 Aug 2007 18:48:40 +0200

> If someone else is ready to design a patch, do not hesitate :-)
here's a first hack for ldaps:

I've tested this on NetWare against two NetWare eDir servers, and against;
curl -v ldaps://,dc=org?one
* About to connect() to port 636 (#0)
* Trying connected
* Connected to ( port 636 (#0)
* LDAP local: ldaps://,dc=org?one
* LDAP local: trying to establish encrypted connection
DN: dc=OpenLDAP,dc=Org
* Closing connection #0

so basic functionality seems to work; however:
- cert verification not yet implemented
- Win32 not yet working with ldaps (always tells me 'server is down')

for now I've ifdef'd the stuff with HAVE_LDAP_SSL - so unless you define this the ldaps support doesnt get compiled; not sure if we need that, nor if the name HAVE_LDAP_SSL is ok....

comments please! Should I comment as base for further improvements?

Received on 2007-08-15