curl-users
Re: Curl NTLM Proxy authentication
Date: Thu, 20 Jun 2013 02:57:34 +0800 (SGT)
Dan,
I stumbled upon this. http://sourceforge.net/p/curl/bugs/549/
Where and how do i increase the buffer size ?
Regards,
Telson A
________________________________
From: Telson Alva <telson_alva@yahoo.com>
To: Daniel Stenberg <daniel@haxx.se>; the curl tool <curl-users@cool.haxx.se>
Sent: Wednesday, 19 June 2013 2:34 PM
Subject: Re: Curl NTLM Proxy authentication
Hi Dan,
Thank you for the response. I now have curl with SSPI support, now the problem is whether i manually enter the credentials or not i get the same error message.
curl: <56> Failure when receiving data from the peer
The command has not changed and curl looks like below.
curl 7.30.0 (i386-pc-win32) libcurl/7.30.0 OpenSSL/1.0.0k zlib/1.2.7 libidn/1.18 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN Largefile NTLM SSL SSPI libz
I can download the file using cURL while entering the credentials manually, using a build which does not have SSPI. Am i missing something here ?
The proxy requires domain to be passed to it along with the username & password.
Regards,
Telson A
________________________________
From: Daniel Stenberg <daniel@haxx.se>
To: Telson Alva <telson_alva@yahoo.com>; the curl tool <curl-users@cool.haxx.se>
Sent: Friday, 14 June 2013 5:23 PM
Subject: Re: Curl NTLM Proxy authentication
On Tue, 11 Jun 2013, Telson Alva wrote:
> curl --proxy-ntlm --proxy-user : --proxy %PROXY_URL% --user
> %Username%:%Password% -f -O --url "%SITE_URL%"
...
> I was under the
impression that using ':' would pass on the NT Login
> credentials to the server.
That trick only works if your curl is built with SSPI support and your curl -V
output didn't show any such! :-O
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-06-19