Microsoft KB Archive/312176

= Heavy NTLM authentication traffic occurs between Internet Explorer and the proxy server =

Article ID: 312176

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.5 Service Pack 2

-



This article was previously published under Q312176



SYMPTOMS
If you use NTLM authentication with a proxy, Internet Explorer may send extraneous NTLM authorization requests. This causes &quot;407 Proxy authentication required&quot; HTTP responses from the proxy. This problem can occur with either Microsoft Internet Security and Acceleration (ISA) Server 2000 or with Microsoft Proxy Server 2.0.

If this problem occurs, you may experience any of the following symptoms:  Incomplete HTML pages are displayed and random authentication prompts occur. For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

297080 Incomplete HTML Pages and Random Authentication Prompts If ISA Server Is Chained to Upstream Proxy

317822 FIX: Problems with Web Browser if ISA Server 2000 Is Chained to an Upstream Web Proxy Server

 You cannot use NTLM pass-through authentication with ISA Server. You receive random authentication prompts to authenticate again with the proxy. NTLM authentication traffic appears in the ISA Server top-ten report.



CAUSE
This problem may occur when Wininet recycles a keep-alive connection into the keep-alive connection pool so that the connection can be used to process other requests. If NTLM authentication has not completed on a connection yet, and if that connection is recycled, a new anonymous request is sent on that connection. This behavior produces a &quot;407&quot; response again.

This problem may or may not be visible, depending on the page that is requested. HTML pages that include many images (by using  tags) typically produce the problem.



Internet Explorer 6
To resolve this problem, obtain the latest service pack for Internet Explorer 6. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328548 How to Obtain the Latest Internet Explorer 6 Service Pack



Internet Explorer 6 SP1 with Q331906
Use the procedure that is described in this section to resolve this problem if you have installed the hotfix that is described in the following Microsoft Knowledge Base article:

331906 You Cannot Connect to the Internet After You Install Microsoft Updates

Follow these steps, and then quit Registry Editor:  Click Start, click Run, type regedit, and then click OK.</li> Locate and then click the following key in the registry:

 

</li> On the Edit menu, point to New, and then click DWORD.</li> Type ReleaseSocketDuringAuth, and then press ENTER.</li> On the Edit menu, click Modify.</li> Type 0, and then click OK.</li></ol>

Internet Explorer 5.5 Service Pack 2
A supported fix is now available from Microsoft, but it is only intended to correct the problem described in this article. Only apply it to systems that are experiencing this specific problem. This fix may receive additional testing to further ensure product quality. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Internet Explorer 5.5 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

<pre class="fixed_text">Date        Time   Version        Size     File name

---

17-Jun-2002 14:33  5.50.4918.1800 481 040  Wininet.dll

<div class="workaround_section">

WORKAROUND
To work around this problem, set the MaxConnectionsPerServer value to 1. This limits the number of simultaneous HTTP connection to one. The default value is to use two connections. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

282402 How to Configure Internet Explorer to Have More Than Two Download Sessions

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Internet Explorer 6 Service Pack 1.

<div class="moreinformation_section">

MORE INFORMATION
Note that if you use the NTLM pass-through that is provided by ISA Server the pass-through always causes heavy NTLM traffic. In this scenario, Microsoft Internet Information Services (IIS) uses request-based authentication instead of the default session-based authentication. Therefore, every request (such as GET and POST requests) must be authenticated by using the three-way NTLM handshake.

Keywords: kbbug kbfix kbqfe kbenv kbie600sp1fix kbhotfixserver KB312176

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.