Internet Explorer always prompts for authentication when browsing to Web sites already logged on to (820780)



The information in this article applies to:

  • Microsoft Internet Explorer 6.0
  • Microsoft Internet Explorer 6.0 SP1, when used with:
    • Microsoft Windows XP Home Edition
    • Microsoft Windows XP Professional
    • Microsoft Windows 2000 Server
    • Microsoft Windows 2000 Professional
    • Microsoft Windows NT Server 4.0
    • Microsoft Windows NT Workstation 4.0
    • Microsoft Windows Millennium Edition
    • Microsoft Windows 98
    • Microsoft Windows 98 Second Edition

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

When you connect through a caching ISA Proxy that has anonymous access, and you try to perform a NT LAN Manager (NTLM) Authentication with an IIS4 or IIS5 Web server, Microsoft Internet Explorer 6 may not automatically authenticate with NTLM pre-authorization (PreAuth). Instead, you may be continually prompted to authenticate.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Internet Explorer 6 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: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 hotfix has the file attributes (or later file attributes) 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.
   Date         Time   Version        Size     File name
   -------------------------------------------------------
   06-Aug-2003  13:15  6.0.2800.1243  586,240  Wininet.dll
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

This hotfix uses the following registry information to determine how to treat the socket during a 401 Authentication. To use the hotfix, set the registry value to 0. To turn off the hotfix and revert to the original behavior, set the value to 1. By default, the installation of this hotfix package sets the value to 0.

To set the registry value to 0, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click either of the following keys in the registry:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings

  3. On the Edit menu, point to New, and then click DWORD.
  4. Type ReleaseSocketDuring401Auth, and then press ENTER.
  5. On the Edit menu, click Modify.
  6. Type 0, and then click OK.

WORKAROUND

To work around this problem, edit all the "401" response pages in your IIS deployment so they are larger than 1460 bytes. 1460 bytes is the size of one TCP packet.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

If the "401" response page content is smaller than 1460 bytes, Internet Explorer closes the current connection and tries to re-use a previous connection from the keep-alive pool for that server. Because ISA (or any other proxy) has closed the related connection between ISA and the IIS server, the re-use of the Internet Explorer connection does not work. As a result, Internet Explorer produces an authentication prompt.

When the "401" response page is larger than 1460 bytes, Internet Explorer must maintain the current connection so that it can drain the socket of all pending data. This causes Internet Explorer to re-use this socket for the later NTLM authentication traffic. As a result, the connection works seamlessly.

Modification Type:MinorLast Reviewed:11/1/2005
Keywords:kbHotfixServer kbQFE kbIE600sp2fix kbIE600preSP2fix kbfix kbbug KB820780 kbAudITPRO