cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Digest authorized

From: Левченко Кирилл Сергеевич <levchenko.ks_at_nsk.vtb24.ru>
Date: Mon, 1 Dec 2008 08:00:37 +0300

 

Iexplorer can connect to xxx.ru
Headers IE:

From server:

---
HTTP/1.1 401 Unauthorized
Content-Length: 1656
Content-Type: text/html
Server: Microsoft-IIS/6.0
WWW-Authenticate: Digest
qop="auth",algorithm=MD5-sess,nonce="486735007c4fc901aaef97b9ecfe18ece23f8bd
5f86d8e18913df91e2b52cdaf8197ce924bc15122",charset=utf-8,realm="xxx.ru"
X-Powered-By: ASP.NET
Date: Wed, 26 Nov 2008 04:03:55 GMT
----
From IE:
---GET /Main.aspx?Method=List HTTP/1.1
Accept: */*
Accept-Language: ru
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322)
Host: 172.21.159.13
Connection: Keep-Alive
Authorization: Digest username="user", realm="xxx.ru", qop="auth",
algorithm="MD5-sess", uri="/Main.aspx",
nonce="282bfb0b7c4fc90186f7305500b7b3ad5dd3cde30ebe9f3bf1774b08a14774fa9affb
2b615c6e9d1", nc=00000001, cnonce="ae3ecc694d860f76551b79d668f730d5",
response="f9bc7ba46e1ea92f6af88f1be65d2216"
---
-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] 
Sent: Wednesday, November 26, 2008 6:39 PM
To: the curl tool
Subject: Re: Digest authorized
On Wed, 26 Nov 2008, ???????? ?????? ????????? wrote:
> Don't work Digest authorized.
> Authorization: Digest username="USER", realm="xxx.ru", 
> nonce="a4af85e49c4fc901242b7f79d950ed3cfddd7e8c7254ad89533b6f0a2f18dc6
> beff eee6a71c91d95", uri="/Main.aspx?Method=List", cnonce="MTIyNzU4", 
> nc=00000001, qop="auth", response="68710bbd7571b96d622e4bf53e5164db",
> algorithm="MD5-sess"
Can you provide us with a test account on a similar setup?
It seems you're either suffering from a bug (in the server or in libcurl) or
you're providing the wrong credentials to the server.
We have a number of Digest tests in the test suite and they all work fine.
We need to figure out how your case differs from them!
-------------------------------------------------------------------
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 2008-12-01