cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Redirection failing with NTLM authentication

From: Ebenezer Ikonne <amaeze_at_gmail.com>
Date: Wed, 6 May 2009 22:45:47 -0400

It was 7.19.4 (curl-7.19.4-win32-ssl-sspi.zip). It would just hang at the
redirect. Note the verbose output below.

Let me know if you need anything else.

* About to connect() to proxy 127.0.0.1 port 8888 (#0)
* Trying 127.0.0.1... connected
* Connected to 127.0.0.1 (127.0.0.1) port 8888 (#0)
* Server auth using NTLM with user 'us\eikonne'
> POST http://qa/rf/usersignonrfhandling.aspx HTTP/1.1
> Authorization: NTLM
TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAFAs4OAAAADw==
> User-Agent: Mozilla/4.0 (compatible; MSIE 7.0)
> Host: qa
> Accept: */*
> Proxy-Connection: Keep-Alive
> Content-Length: 0
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 401 Unauthorized
HTTP/1.1 401 Unauthorized
< Content-Length: 83
Content-Length: 83
< Content-Type: text/html
Content-Type: text/html
< Server: Microsoft-IIS/6.0
Server: Microsoft-IIS/6.0
< WWW-Authenticate: NTLM
TlRMTVNTUAACAAAAEgASADgAAAA1goniGJgWm3CHiikAAAAAAAAAAII
AggBKAAAABQLODgAAAA9JAEwAUwBOAEUAVABEAEUAVgACABIASQBMAFMATgBFAFQARABFAFYAAQAEAFE
AQQAEABoASQBMAFMATgBFAFQARABFAFYALgBwAHIAaQADACAAUQBBAC4ASQBMAFMATgBFAFQARABFAFY
ALgBwAHIAaQAFABoASQBMAFMATgBFAFQARABFAFYALgBwAHIAaQAAAAAA
WWW-Authenticate: NTLM
TlRMTVNTUAACAAAAEgASADgAAAA1goniGJgWm3CHiikAAAAAAAAAAIIAg
gBKAAAABQLODgAAAA9JAEwAUwBOAEUAVABEAEUAVgACABIASQBMAFMATgBFAFQARABFAFYAAQAEAFEAQ
QAEABoASQBMAFMATgBFAFQARABFAFYALgBwAHIAaQADACAAUQBBAC4ASQBMAFMATgBFAFQARABFAFYAL
gBwAHIAaQAFABoASQBMAFMATgBFAFQARABFAFYALgBwAHIAaQAAAAAA
< X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
< Date: Thu, 07 May 2009 02:44:01 GMT
Date: Thu, 07 May 2009 02:44:01 GMT
< Proxy-Support: Session-Based-Authentication
Proxy-Support: Session-Based-Authentication

<
* Ignoring the response-body
* Connection #0 to host 127.0.0.1 left intact
* Issue another request to this URL: 'http://qa/rf/usersignonrfhandling.aspx
'
* Re-using existing connection! (#0) with host 127.0.0.1
* Connected to 127.0.0.1 (127.0.0.1) port 8888 (#0)
* Server auth using NTLM with user 'us\eikonne'
> POST http://qa/rf/usersignonrfhandling.aspx HTTP/1.1
> Authorization: NTLM
TlRMTVNTUAADAAAAGAAYAHAAAAAYABgAiAAAAAQABABIAAAADgAOAEwAAA
AWABYAWgAAABAAEACgAAAANYKI4gUCzg4AAAAPdQBzAGUAaQBrAG8AbgBuAGUATQBBAC0ASQBOAEwAVA
AwADMAMwA4AFMpMotqbua+AAAAAAAAAAAAAAAAAAAAAFTRRWj0kFS+vqZgt6XYtbYGWRGlwNFBsO24ka
kJDSWMmkFeGi7heis=
> User-Agent: Mozilla/4.0 (compatible; MSIE 7.0)
> Host: qa
> Accept: */*
> Proxy-Connection: Keep-Alive
> Content-Length: 125
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 302 Found
HTTP/1.1 302 Found
< Date: Thu, 07 May 2009 02:44:03 GMT
Date: Thu, 07 May 2009 02:44:03 GMT
< Server: Microsoft-IIS/6.0
Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
< X-AspNet-Version: 2.0.50727
X-AspNet-Version: 2.0.50727
< Location: /rf/SignonMenuRF.aspx?ACCESS=MANLOGON
Location: /rf/SignonMenuRF.aspx?ACCESS=MANLOGON
* Added cookie ASP.NET_SessionId="pz31a145dkleshnlesqyie3j" for domain qa,
path
/, expire 0
< Set-Cookie: ASP.NET_SessionId=pz31a145dkleshnlesqyie3j; path=/; HttpOnly
Set-Cookie: ASP.NET_SessionId=pz31a145dkleshnlesqyie3j; path=/; HttpOnly
< Cache-Control: private
Cache-Control: private
< Expires: Thu, 07 May 2009 02:44:01 GMT
Expires: Thu, 07 May 2009 02:44:01 GMT
< Content-Type: text/html; charset=utf-8
Content-Type: text/html; charset=utf-8
< Content-Length: 162
Content-Length: 162

* Keep sending data to get tossed away!
<
* Ignoring the response-body

On Wed, May 6, 2009 at 4:13 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Wed, 6 May 2009, Ebenezer Ikonne wrote:
>
> I reverted to using version 7.18.2 and everything seems to be working.
>>
>
> Reverted from what version? And if it was from 7.19.4, can you provide more
> details such as verbose ouputs or similar?
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/cgi-bin/mailman/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/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-05-07