cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1849214 ] curl authentication

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 12 Dec 2007 03:26:23 -0800

Bugs item #1849214, was opened at 2007-12-12 10:32
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1849214&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Joerg (schleede)
Assigned to: Nobody/Anonymous (nobody)
Summary: curl authentication

Initial Comment:
Hallo badger,

here my tests:

pcnr0433:~ # cat .curlrc

# Changed by YaST2 module proxy 11.12.2007
proxy = http://proxy:8080
proxy-ntlm
proxy-user = "domain\\schleede:password"
pcnr0433:~ #

pcnr0433:~ # curl -v -x http://proxy:8080 --proxy-ntlm -U schleede:password http://home.arcor.de/schleede/link.htm
* About to connect() to proxy proxy port 8080
* Trying 10.10.20.100... connected
* Connected to proxy (10.10.20.100) port 8080
* Proxy auth using Basic with user 'schleede'
> GET http://home.arcor.de/schleede/link.htm HTTP/1.1
> Proxy-Authorization: Basic c2NobGVlZGU6UmF1ZGllMDE=
> User-Agent: curl/7.15.5 (i686-suse-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8d zlib/1.2.3 libidn/0.6.8
> Host: home.arcor.de
> Pragma: no-cache
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 407 Proxy Authorization Required
< Proxy-Authenticate: Negotiate
< Proxy-Authenticate: NTLM
< Date: Wed, 12 Dec 2007 08:38:40 GMT
< Pragma: no-cache
< Cache-Control: no-cache
< Content-Type: text/html; charset="UTF-8"
< Pragma: no-cache
< Cache-control: no-cache
< Content-Length: 0
< Proxy-Connection: Keep-Alive
* Connection #0 to host proxy left intact
* Closing connection #0
pcnr0433:~ #

pcnr0433:~ # curl -v -x http://proxy:8080 --proxy-ntlm -U domain\\schleede:password http://home.arcor.de/schleede/link.htm
* About to connect() to proxy proxy port 8080
* Trying 10.10.20.100... connected
* Connected to proxy (10.10.20.100) port 8080
* Proxy auth using Basic with user 'domain\schleede'
> GET http://home.arcor.de/schleede/link.htm HTTP/1.1
> Proxy-Authorization: Basic Q0FFLURFXHNjaGxlZWRlOlJhdWRpZTAx
> User-Agent: curl/7.15.5 (i686-suse-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8d zlib/1.2.3 libidn/0.6.8
> Host: home.arcor.de
> Pragma: no-cache
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 407 Proxy Authorization Required
< Proxy-Authenticate: Negotiate
< Proxy-Authenticate: NTLM
< Date: Wed, 12 Dec 2007 08:40:39 GMT
< Pragma: no-cache
< Cache-Control: no-cache
< Content-Type: text/html; charset="UTF-8"
< Pragma: no-cache
< Cache-control: no-cache
< Content-Length: 0
< Proxy-Connection: Keep-Alive
* Connection #0 to host proxy left intact
* Closing connection #0
pcnr0433:~ #
pcnr0433:~ # curl --version
curl 7.15.5 (i686-suse-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8d zlib/1.2.3 libidn/0.6.8
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: IDN IPv6 Largefile NTLM SSL libz
pcnr0433:~ #

pcnr0433:~ # curl -v http://home.arcor.de/schleede/link.htm
* About to connect() to proxy proxy port 8080
* Trying 10.10.20.100... connected
* Connected to proxy (10.10.20.100) port 8080
* Proxy auth using NTLM with user 'domain\schleede'
> GET http://home.arcor.de/schleede/link.htm HTTP/1.1
> Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
> User-Agent: curl/7.15.5 (i686-suse-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8d zlib/1.2.3 libidn/0.6.8
> Host: home.arcor.de
> Pragma: no-cache
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 407 Proxy Authorization Required
< Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAJAAkADAAAAAFgoGighjqExe9wmYAAAAAAAAAAJwAnABUAAAARABFAC4AQwBBAEUAQwBPAFIAUAAuAEMAQQBFAC4AQwBPAE0AAgAkAEQARQAuAEMAQQBFAEMATwBSAFAALgBDAEEARQAuAEMATwBNAAEADABBAFMAVABBAFIATwAEACQAZABlAC4AYwBhAGUAYwBvAHIAcAAuAGMAYQBlAC4AYwBvAG0AAwAyAGEAcwB0AGEAcgBvAC4AZABlAC4AYwBhAGUAYwBvAHIAcAAuAGMAYQBlAC4AYwBvAG0AAAACAAAA
< Date: Wed, 12 Dec 2007 09:12:43 GMT
< Pragma: no-cache
< Cache-Control: no-cache
< Content-Type: text/html; charset="UTF-8"
< Pragma: no-cache
< Cache-control: no-cache
< Content-Length: 0
< Proxy-Connection: Keep-Alive
* Connection #0 to host proxy left intact
* Issue another request to this URL: 'http://home.arcor.de/schleede/link.htm'
* Re-using existing connection! (#0) with host proxy
* Connected to proxy (10.10.20.100) port 8080
* Proxy auth using NTLM with user 'domain\schleede'
> GET http://home.arcor.de/schleede/link.htm HTTP/1.1
> Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAYABgBwAAAACAAIAHYAAAAIAAgAfgAAAAAAAAAAAAAABYKBonsDh20TPo5Xx5jk4qefvHu+85WK8R0JB2XIAOnqXJGdZlUWyzzC2F4K1oFuL2AZCUNBRS1ERXNjaGxlZWRlcGNucjA0MzM=
> User-Agent: curl/7.15.5 (i686-suse-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8d zlib/1.2.3 libidn/0.6.8
> Host: home.arcor.de
> Pragma: no-cache
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 407 Proxy Authorization Required
< Proxy-Authenticate: Negotiate
* Authentication problem. Ignoring this.
< Proxy-Authenticate: NTLM
< Date: Wed, 12 Dec 2007 09:12:43 GMT
< Pragma: no-cache
< Cache-Control: no-cache
< Content-Type: text/html; charset="UTF-8"
< Pragma: no-cache
< Cache-control: no-cache
< Content-Length: 0
< Proxy-Connection: Keep-Alive
* Connection #0 to host proxy left intact
* Closing connection #0
pcnr0433:~ #

i tried it also with an other account but it also fails.
we hav an astaro as proxy.

thanks for help.

joerg

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2007-12-12 12:26

Message:
Logged In: YES
user_id=1110
Originator: NO

This is not a new bug, please post follow-ups to bugs in the same bug
report.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1849214&group_id=976
Received on 2007-12-12

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET