cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: integrated windows authentication not supported?

From: <Andy.D.Loechler_at_wellsfargo.com>
Date: Wed, 29 Mar 2006 15:12:34 -0600

D:\curl-7.15.3>curl --output out.txt -include --verbose --dump-header
headers.tx
t https://athcluster.wellsfargo.com
* Couldn't find host athcluster.wellsfargo.com in the _netrc file, using
default
s
* About to connect() to athcluster.wellsfargo.com port 443
* Trying 10.250.127.37... connected
* Connected to athcluster.wellsfargo.com (10.250.127.37) port 443
* SSL: couldn't set callback!successfully set certificate verify
locations:
* CAfile: D:\curl-7.15.3\curl-ca-bundle.crt
  CApath: none
* SSL connection using RC4-MD5
* Server certificate:
* subject:
/O=wellsfargo.com/OU=athena/CN=athcluster.wellsfargo.com
* start date: 2005-05-19 18:06:39 GMT
* expire date: 2006-05-19 18:06:39 GMT
* common name: athcluster.wellsfargo.com (matched)
* issuer: /C=US/O=Wells Fargo/OU=Wells Fargo Certification
Authority/CN=W
ells Fargo Certificate Authority 01
* SSL certificate verify ok.
> GET / HTTP/1.1
> User-Agent: curl/7.15.3 (i586-pc-mingw32msvc) libcurl/7.15.3
OpenSSL/0.9.8a zl
ib/1.2.2
> Host: athcluster.wellsfargo.com
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Content-Length: 1656
< Content-Type: text/html
< Server: Microsoft-IIS/6.0
< WWW-Authenticate: Negotiate
< WWW-Authenticate: NTLM
< X-Powered-By: ASP.NET
< MicrosoftOfficeWebServer: 5.0_Pub
< Date: Wed, 29 Mar 2006 21:08:51 GMT
  % Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
100 1656 100 1656 0 0 15054 0 --:--:-- --:--:-- --:--:--
0*
Connection #0 to host athcluster.wellsfargo.com left intact

* Closing connection #0

HTTP/1.1 401 Unauthorized
Content-Length: 1656
Content-Type: text/html
Server: Microsoft-IIS/6.0
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET
MicrosoftOfficeWebServer: 5.0_Pub
Date: Wed, 29 Mar 2006 21:08:51 GMT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>You are not authorized to view this page</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html;
charset=Windows-1252">
<STYLE type="text/css">
  BODY { font: 8pt/12pt verdana }
  H1 { font: 13pt/15pt verdana }
  H2 { font: 8pt/12pt verdana }
  A:link { color: red }
  A:visited { color: maroon }
</STYLE>
</HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>

<h1>You are not authorized to view this page</h1>
You do not have permission to view this directory or page using the
credentials that you supplied because your Web browser is sending a
WWW-Authenticate header field that the Web server is not configured to
accept.
<hr>
<p>Please try the following:</p>
<ul>
<li>Contact the Web site administrator if you believe you should be able
to view this directory or page.</li>
<li>Click the Refresh button
to try again with different credentials.</li>
</ul>
<h2>HTTP Error 401.2 - Unauthorized: Access is denied due to server
configuration.<br>Internet Information Services (IIS)</h2>
<hr>
<p>Technical Information (for support personnel)</p>
<ul>
<li>Go to <a
href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product
Support Services</a> and perform a title search for the words
<b>HTTP</b> and <b>401</b>.</li>
<li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr),
 and search for topics titled <b>About Security</b>,
<b>Authentication</b>, and <b>About Custom Error Messages</b>.</li>
</ul>

</TD></TR></TABLE></BODY></HTML>

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Loechler, Andy D.
Sent: Wednesday, March 29, 2006 2:57 PM
To: curl-users_at_cool.haxx.se
Subject: RE: integrated windows authentication not supported?

HTTP/1.1 401 Unauthorized
Content-Length: 1656
Content-Type: text/html
Server: Microsoft-IIS/6.0
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET
Date: Wed, 29 Mar 2006 20:55:20 GMT

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Wednesday, March 29, 2006 2:47 PM
To: the curl tool
Subject: Re: integrated windows authentication not supported?

On Wed, 29 Mar 2006, Andy.D.Loechler_at_wellsfargo.com wrote:

> So there is no way to get past this with the command line curl

The HTML output tells us nothing. You need to show us the response
_headers_.

-- 
  Commercial curl and libcurl Technical Support:
http://haxx.se/curl.html
Received on 2006-03-29