cURL / Mailing Lists / curl-library / Single Mail

curl-library

R: Re: Problem with LDAP access through SOCKS v4/v5

From: <sergio.cavaglia_at_tiscali.it>
Date: Thu, 25 Sep 2008 16:50:28 +0200 (CEST)

Hi to All
Did anybody solve the question pointed out from Massimiliano?

I encountered the same problem both with curl.exe 7.19.0 Win32 and
libcurl v. 7.19.0;

using the command line:
curl.exe --socks5 <host[:
port]>-B "ldap://ldap.actalis.it:389/cn=Actalis Qualified Certificates
CA,ou=Qualified Certification Service Provider,o=Actalis S.p.A.,c=IT?
certificateRevocationList=*,certificateRevocationList;binary?subtree?
objectClass=*"
I got the error: curl: (38) LDAP local:
ldap_simple_bind_s Not available.

Whereas using the command line:

curl.exe -B "ldap://ldap.actalis.it:389/cn=Actalis Qualified
Certificates CA,ou=Qualified Certification Service Provider,o=Actalis S.
p.A.,c=IT?certificateRevocationList=*,certificateRevocationList;binary?
subtree?objectClass=*" > crl.crl

with a modem connection, I got the
message:

  % Total % Received % Xferd Average Speed Time
Time Time Current
                                 Dload Upload
Total Spent Left Speed
  0 0 0 0 0 0
0 0 --:--:-- 0:00:10 --:--:-- 0

and I got the required file.

I have the same problem with a my application using libcurl v. 7.19.0.

I also tried to use two different socks server that work with other
applications, but I got the same results

Could anybody help me
please?
Many thanks in advance
Sergio

Con Tiscali Adsl 8 Mega navighi SENZA LIMITI e GRATIS PER I PRIMI TRE MESI. In seguito paghi solo € 19,95 al mese. Attivala subito, l’offerta è valida fino al 25/09/2008! http://abbonati.tiscali.it/promo/adsl8mega/
Received on 2008-09-25