Re: Network/Web Site Authentication



WenJun,

Here is the TRACE details, below are the details for a GET (wasn't sure if
it mattered which I used)

started....
WWWConnect::Connect("appserver","80")\n
IP = "192.168.254.5:80"\n
source port: 2582\r\n
SEC_I_CONTINUE_NEEDED - InitializeSecurityContext\n
REQUEST: **************\n
TRACE /WSUSadmin HTTP/1.1\r\n
Host: appserver\r\n
Accept: */*\r\n
Connection: Keep-Alive\r\n
Authorization: NTLM
TlRMTVNTUAABAAAAl4II4gAAAAAAAAAAAAAAAAAAAAAFAs4OAAAADw==\r\n
\r\n
RESPONSE: **************\n
HTTP/1.1 401 Unauthorized\r\n
Content-Length: 1037\r\n
Content-Type: text/html\r\n
Server: Microsoft-IIS/6.0\r\n
WWW-Authenticate: NTLM
TlRMTVNTUAACAAAAFAAUADgAAAAVgoniWve8zs/3BIYAAAAAAAAAAKYApgBMAAAABQLODgAAAA9BAEwAUABIAEEAQwBPAFUAUgBUAAIAFABBAEwAUABIAEEAQwBPAFUA
UgBUAAEAEgBBAFAAUABTAEUAUgBWAEUAUgAEABwAYQBsAHAAaABhAGMAbwB1AHIAdAAuAGMAbwBtAAMAMABhAHAAcABzAGUAcgB2AGUAcgAuAGEAbABwAGgAYQBjAG8AdQByAHQALgBjAG8AbQAFABw
AYQBsAHAAaABhAGMAbwB1AHIAdAAuAGMAbwBtAAAAAAA=\r\n
X-Powered-By: ASP.NET\r\n
Date: Fri, 04 Aug 2006 13:43:12 GMT\r\n
\r\n
SEC_E_OK - InitializeSecurityContext\n
\r\n
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >\r\n
<html>\r\n
\t<head>\r\n
\t\t<title>Access denied</title>\r\n
\t\t<style type="text/css">\r\n
\r\n
body {\r\n
\tcolor: black;\r\n
\tbackground-color: #F5F5F5;\r\n
\toverflow: auto;\r\n
\tmargin: 0px;\r\n
\tfont-family: Tahoma;\r\n
\tfont-size: 66.6%;\r\n
}\r\n
\r\n
body div.CurrentNavigation {\r\n
\theight: 28px;\r\n
\tline-height: 28px;\r\n
\tcolor: white;\r\n
\tbackground-color: #666F74;\r\n
\tpadding: 0px 10px 0px 10px;\r\n
\tfont-weight: bold;\r\n
}\r\n
\r\n
body div.Content {\r\n
\tpadding: 16px;\r\n
}\r\n
\r\n
body div.Content div.Title {\r\n
\tfont-size: 225%;\r\n
\tfont-family: Franklin Gothic Medium;\r\n
\tmargin-bottom: 5px;\r\n
}\r\n
\r\n
\t\t</style>\r\n
\t</head>\r\n
\t<body>\r\n
\t\t<div class="CurrentNavigation">Windows Server Update Services
error</div>\r\n
\t\t<div class="Content">\r\n
\t\t\t<div class="Title">Access denied</div>\r\n
\t\t\tNetwork policy settings prevent you from accessing this Windows Server
Update Services server.<br /><br />\r\n
\t\t\tIf you believe you have received this message in error, please check
with your system administrator.<br /><br />\r\n
\t\t</div>\r\n
\t</body>\r\n
</html>\r\n
REQUEST: **************\n
TRACE /WSUSadmin HTTP/1.1\r\n
Host: appserver\r\n
Accept: */*\r\n
Connection: Keep-Alive\r\n
Authorization: NTLM
TlRMTVNTUAADAAAAGAAYAIgAAADWANYAoAAAABQAFABIAAAAGgAaAFwAAAASABIAdgAAABAAEAB2AQAAFYKI4gUCzg4AAAAPYQBsAHAAaABhAGMAbwB1AHIAdABiAGUAbgA
uAGIAbABhAGMAawBtAG8AcgBlAEEAUABQAFMARQBSAFYARQBSACc1L9G7vFsyNLyHVWi19z6hJXbSSx8QmwvQZMChosgEB3py/S6dosoBAQAAAAAAAP4x+u3Lt8YBoSV20ksfEJsAAAAAAgAUAEEATA
BQAEgAQQBDAE8AVQBSAFQAAQASAEEAUABQAFMARQBSAFYARQBSAAQAHABhAGwAcABoAGEAYwBvAHUAcgB0AC4AYwBvAG0AAwAwAGEAcABwAHMAZQByAHYAZQByAC4AYQBsAHAAaABhAGMAbwB1AHIAd
AAuAGMAbwBtAAUAHABhAGwAcABoAGEAYwBvAHUAcgB0AC4AYwBvAG0AAAAAAAAAAACubInVbwVD4N4uUEqZITud\r\n
\r\n
RESPONSE: **************\n
HTTP/1.1 302 Found\r\n
Date: Fri, 04 Aug 2006 13:43:12 GMT\r\n
Server: Microsoft-IIS/6.0\r\n
X-Powered-By: ASP.NET\r\n
X-AspNet-Version: 1.1.4322\r\n
Location: /WSUSAdmin/Errors/Error.aspx\r\n
Cache-Control: private\r\n
Content-Type: text/html; charset=utf-8\r\n
Content-Length: 2645\r\n
\r\n
<!doctype html public "-//w3c//dtd html 4.0 transitional//en" >\n
<html>\n
<head>\n
<title>Windows Server Update Services error</title>\n
<link rel="style***" type="text/css"
href="/WsusAdmin/Common/Common.css">\n
<script language="JScript" type="text/javascript"
src="/WsusAdmin/Common/Common.js"></script>\n
<script language="JScript" type="text/javascript">\n
function InitializeErrorPage()\n
{\n
try\n
{\n
if(!TopFrame.SiteProperlyInitialized) // If site wasn't properly
initialized (got to site without going to home page first), go to home
page\n
{\n
TopFrame.Banner.TabHome.click();\n
}\n
}catch(e){}\n
}\n
</script>\n
<script language="JScript" type="text/javascript">\n
function ShowErrorDetails()\n
{\n
Details.parentElement.style.height = "100%";\n
Details.previousSibling.style.display = "block";\n
DetailsButton.disabled = true;\n
ResizeDialog();\n
}\n
</script>\n
</head>\n
<body onload="Initialize();InitializeErrorPage();CloseWaitDialog();"
class="Content">\n
<table cellspacing="0" style="width: 100%;height: 100%;"
class="UserFontSize">\n
<tr>\n
<td style="vertical-align: top;">\n
<div class="Introduction">Windows Server Update Services
encountered an error. </div>\n
<div id="Summary" class="Content" style="padding-bottom:
11px;">Thread was being aborted.</div>\n
<button id="DetailsButton" onclick="ShowErrorDetails();"
style="margin-left: 9px;">Show Details</button><br /><br />\n
</td>\n
</tr>\n
<tr>\n
<td class="ErrorDetails">\n
<div class="SectionHeader">Details</div>\n
<textarea id="Details" contenteditable="false"
wrap="off">System.Threading.ThreadAbortException: Thread was being
aborted.\r\n
at System.Threading.Thread.AbortInternal()\r\n
at System.Threading.Thread.Abort(Object stateInfo)\r\n
at System.Web.HttpResponse.End()\r\n
at System.Web.HttpResponse.Redirect(String url, Boolean endResponse)\r\n
at System.Web.HttpResponse.Redirect(String url)\r\n
at Administration.Errors.ErrorRedirect.Page_Load(Object sender, EventArgs
e)\n
\n
at System.Threading.Thread.AbortInternal()\r\n
at System.Threading.Thread.Abort(Object stateInfo)\r\n
at System.Web.HttpResponse.End()\r\n
at System.Web.HttpResponse.Redirect(String url, Boolean endResponse)\r\n
at System.Web.HttpResponse.Redirect(String url)\r\n
at Administration.Errors.ErrorRedirect.Page_Load(Object sender, EventArgs
e)</textarea>\n
</td>\n
</tr>\n
</table>\n
</body>\n
</html>
finished.

=============
GET
=============

started....
Reusing existing connection (source port 2584)\n
SEC_I_CONTINUE_NEEDED - InitializeSecurityContext\n
REQUEST: **************\n
GET /WSUSadmin HTTP/1.1\r\n
Host: appserver\r\n
Accept: */*\r\n
Connection: Keep-Alive\r\n
Authorization: NTLM
TlRMTVNTUAABAAAAl4II4gAAAAAAAAAAAAAAAAAAAAAFAs4OAAAADw==\r\n
\r\n
RESPONSE: **************\n
HTTP/1.1 401 Unauthorized\r\n
Content-Length: 1037\r\n
Content-Type: text/html\r\n
Server: Microsoft-IIS/6.0\r\n
WWW-Authenticate: NTLM
TlRMTVNTUAACAAAAFAAUADgAAAAVgoni/bUU5xXahGAAAAAAAAAAAKYApgBMAAAABQLODgAAAA9BAEwAUABIAEEAQwBPAFUAUgBUAAIAFABBAEwAUABIAEEAQwBPAFUA
UgBUAAEAEgBBAFAAUABTAEUAUgBWAEUAUgAEABwAYQBsAHAAaABhAGMAbwB1AHIAdAAuAGMAbwBtAAMAMABhAHAAcABzAGUAcgB2AGUAcgAuAGEAbABwAGgAYQBjAG8AdQByAHQALgBjAG8AbQAFABw
AYQBsAHAAaABhAGMAbwB1AHIAdAAuAGMAbwBtAAAAAAA=\r\n
X-Powered-By: ASP.NET\r\n
Date: Fri, 04 Aug 2006 13:48:17 GMT\r\n
\r\n
SEC_E_OK - InitializeSecurityContext\n
\r\n
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >\r\n
<html>\r\n
\t<head>\r\n
\t\t<title>Access denied</title>\r\n
\t\t<style type="text/css">\r\n
\r\n
body {\r\n
\tcolor: black;\r\n
\tbackground-color: #F5F5F5;\r\n
\toverflow: auto;\r\n
\tmargin: 0px;\r\n
\tfont-family: Tahoma;\r\n
\tfont-size: 66.6%;\r\n
}\r\n
\r\n
body div.CurrentNavigation {\r\n
\theight: 28px;\r\n
\tline-height: 28px;\r\n
\tcolor: white;\r\n
\tbackground-color: #666F74;\r\n
\tpadding: 0px 10px 0px 10px;\r\n
\tfont-weight: bold;\r\n
}\r\n
\r\n
body div.Content {\r\n
\tpadding: 16px;\r\n
}\r\n
\r\n
body div.Content div.Title {\r\n
\tfont-size: 225%;\r\n
\tfont-family: Franklin Gothic Medium;\r\n
\tmargin-bottom: 5px;\r\n
}\r\n
\r\n
\t\t</style>\r\n
\t</head>\r\n
\t<body>\r\n
\t\t<div class="CurrentNavigation">Windows Server Update Services
error</div>\r\n
\t\t<div class="Content">\r\n
\t\t\t<div class="Title">Access denied</div>\r\n
\t\t\tNetwork policy settings prevent you from accessing this Windows Server
Update Services server.<br /><br />\r\n
\t\t\tIf you believe you have received this message in error, please check
with your system administrator.<br /><br />\r\n
\t\t</div>\r\n
\t</body>\r\n
</html>\r\n
REQUEST: **************\n
GET /WSUSadmin HTTP/1.1\r\n
Host: appserver\r\n
Accept: */*\r\n
Connection: Keep-Alive\r\n
Authorization: NTLM
TlRMTVNTUAADAAAAGAAYAIgAAADWANYAoAAAABQAFABIAAAAGgAaAFwAAAASABIAdgAAABAAEAB2AQAAFYKI4gUCzg4AAAAPYQBsAHAAaABhAGMAbwB1AHIAdABiAGUAbgA
uAGIAbABhAGMAawBtAG8AcgBlAEEAUABQAFMARQBSAFYARQBSAOPzvlCm7ohu9ApfvrxQhR2fckq5LXGG6HPl5U0RXlGy+xTNYRlPqmIBAQAAAAAAAJMq+aPMt8YBn3JKuS1xhugAAAAAAgAUAEEATA
BQAEgAQQBDAE8AVQBSAFQAAQASAEEAUABQAFMARQBSAFYARQBSAAQAHABhAGwAcABoAGEAYwBvAHUAcgB0AC4AYwBvAG0AAwAwAGEAcABwAHMAZQByAHYAZQByAC4AYQBsAHAAaABhAGMAbwB1AHIAd
AAuAGMAbwBtAAUAHABhAGwAcABoAGEAYwBvAHUAcgB0AC4AYwBvAG0AAAAAAAAAAAAgB/YPTf5M2fVJ55e8aNLs\r\n
\r\n
RESPONSE: **************\n
HTTP/1.1 301 Moved Permanently\r\n
Content-Length: 150\r\n
Content-Type: text/html\r\n
Location: http://appserver/WSUSadmin/\r\n
Server: Microsoft-IIS/6.0\r\n
X-Powered-By: ASP.NET\r\n
Date: Fri, 04 Aug 2006 13:48:17 GMT\r\n
\r\n
<head><title>Document Moved</title></head>\n
<body><h1>Object Moved</h1>This document may be found <a
HREF="http://appserver/WSUSadmin/";>here</a></body>
finished.


.