cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problem with LDAP access through SOCKS v4/v5

From: <sergio.cavaglia_at_tiscali.it>
Date: Tue, 14 Oct 2008 11:47:58 +0200 (CEST)

Hi to All

I encountered the following 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

__________________________________________________________________

Naviga tra prodotti e offerte raggruppati ed ordinati per temi su Tiscali Shopping.

Seleziona uno Speciale e trova il prodotto giusto per ogni occasione

http://shopping.tiscali.it/e/speciali.html
Received on 2008-10-14