Microsoft KB Archive/818173

= Authentication may intermittently fail =

Article ID: 818173

Article Last Modified on 10/26/2006

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 4
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows XP Service Pack 1

-



SYMPTOMS
When you configure a three-tier Web application environment that uses Kerberos authentication, you may intermittently find that client authentication fails. For example, in the following scenario, the ticket-granting ticket (TGT) may expire before the client is authenticated to the destination computer that is running Microsoft SQL Server:
 * 1) The client connects to a Microsoft Internet Information Services (IIS) Web server.
 * 2) The client forwards the TGT to the IIS server.
 * 3) The IIS server connects to a computer that is running SQL Server by using the ticket that was forwarded by the client (Kerberos delegation).

The InitializeSecurityContext function returns a SEC_E_NO_CREDENTIALS error code in the SQL application on the Web server. Additionally, the client receives the following error message:

Cannot Generate SSPI Context



CAUSE
This problem may occur if the AcquireCredentialsHandle function returns an incorrect expiry time for the TGT. The ptsExpiry parameter of the AcquireCredentialsHandle function does not reflect the correct lifetime of the forwarded TGT.



Microsoft Windows 2000
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, 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:

http://support.microsoft.com/contactus/?ws=support

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
This hotfix requires Windows 2000 Service Pack 4 (SP4).

Restart requirement
You must restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this 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.

Note This hotfix should be applied on both the IIS server and the client.

Microsoft Windows XP
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 Windows XP 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:

http://support.microsoft.com/contactus/?ws=support

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
This hotfix requires Windows XP Service Pack 1 (SP1).

Restart requirement
You must restart your computer after you apply this hotfix.

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 tool in Control Panel.Microsoft Windows XP Service Pack 1 (SP1), 32-bit versions

Microsoft Windows XP Service Pack 1 (SP1), Itanium-based versions



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information about how hotfix packages are named, click the following article number to view the article in the Microsoft Knowledge Base:

816915 New file naming schema for Microsoft Windows software update packages

Keywords: kbqfe kbhotfixserver kbwinxpsp2fix kbwinxppresp2fix kbpubtypekc kbbug kbfix kbwin2000presp5fix KB818173

-

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

© Microsoft Corporation. All rights reserved.