cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Error in proxy connection

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 19 Feb 2009 08:09:27 +0100 (CET)

On Thu, 19 Feb 2009, Ranu Gontia wrote:

>> You're obviously doing FTP over a HTTP proxy which is a gray area. There's
>> no set standard for that, so it's not perfectly clear to anyone how the
>> proxy is dealing with the FTP server. I see you provide the server auth
>> using NTLM. Is that how the proxy claims you should provide it?
>
> My proxy server requires ntlm authentication. I tried doing ftp with other
> client and it allowed with the same proxy and credentials. But with libcurl
> it is replying with access denied. I am totally stuck here.

The recent "access denied" message you showed us was from the *server* you
tried to access, not the proxy. Thus the proxy let you through but the server
didn't accept your login, hence my rant about doing FTP over a HTTP proxy and
that you're providing the *remote* credentials to the *FTP* site to libcurl
specifying NTLM. I found that very strange and unlikely to be what is
expected.

And that's why I asked about those details. Did you try to just pass on the
ftp user+password credentials embedded in the URL?

I find it weird that you have another client that can do these things and yet
you cannot tell us what that client does!

-- 
  / daniel.haxx.se
Received on 2009-02-19