FIX: You may experience slow performance when you use Integrated Windows authentication together with the Kerberos authentication protocol in IIS 6.0 (917557)



The information in this article applies to:

  • Microsoft Internet Information Services version 6.0

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

SYMPTOMS

You may experience slow performance on a computer that is running Microsoft Internet Information Services (IIS) 6.0. This problem occurs when the following conditions are true:
  • You use Integrated Windows authentication together with IIS 6.0.
  • You use the Kerberos authentication protocol to authenticate the user on the Web site.
Note Visitors to a Web site that is hosted on the computer may also experience slow performance. This problem is more likely to occur if the visitors have limited bandwidth.

CAUSE

When you use the Kerberos authentication protocol, IIS 6.0 requires the client to be reauthenticated for each HTTP request. This behavior causes an increase in network traffic.

This behavior differs from Microsoft Internet Information Services (IIS) 5.0. In IIS 5.0, a client that is authenticated by Kerberos after an initial HTTP request stays authenticated for the duration of the HTTP Keep-Alive session.

RESOLUTION

Hotfix information

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 Windows Server 2003 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.

Prerequisites

You must have Windows Server 2003 Service Pack 1 (SP1) installed to apply this hotfix.

Registry Information

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
After you apply this hotfix, you must add and configure the EnableKerbAuthPersist registry value. To do this, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters

  3. On the Edit menu, point to New, and then click DWORD Value.
  4. Type EnableKerbAuthPersist for the entry name, and then press ENTER.
  5. Right-click EnableKerbAuthPersist, and then click Modify.
  6. In the Value data box, type 1 to enable the hotfix, and then click OK.

    Note To return the IIS service to the default behavior, type a non-zero value other than 1.
  7. Exit Registry Editor.
  8. Restart the IIS service. To do this, follow these steps:
    1. Click Start, click Run, type cmd, and then click OK.
    2. Type the following commands. Press ENTER after each command:

      net stop iisadmin

      net start iisadmin

Restart requirement

If the IIS service is running when you apply this hotfix, you must restart the IIS service.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

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 item in Control Panel.Windows Server 2003, Itanium architecture
File nameFile versionFile sizeDateTime
W3core.dll6.0.3790.26831,059,32815-Apr-200618:19
Windows Server 2003, x64
File nameFile versionFile sizeDateTime
W3core.dll6.0.3790.2683569,34415-Apr-200606:04
Windows Server 2003, x86
File nameFile versionFile sizeDateTime
W3core.dll6.0.3790.2683348,67215-Apr-200605:29

STATUS

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

MORE INFORMATION

After you enable the EnableKerbAuthPersist registry value and restart the IIS service, IIS 6.0 no longer requires the client to reauthenticate for each HTTP request. Clients only have to reauthenticate if they make another HTTP request by using a different client TCP port. This scenario occurs when a new HTTP Keep-Alive session must be established. For more information about HTTP Keep-Alive sessions, visit the following Internet Engineering Task Force (IETF) Web site: For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MinorLast Reviewed:7/26/2006
Keywords:kbWinServ2003preSP2fix kbfix kbBug kbQFE kbhotfixserver kbpubtypekc KB917557 kbAudDeveloper kbAudITPRO