Authentication may intermittently fail (818173)



The information in this article applies to:

  • Microsoft Windows 2000 Server SP4
  • Microsoft Windows 2000 Advanced Server SP4
  • 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.

RESOLUTION

Hotfix information

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: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.
File nameFile versionFile sizeDateTimePlatform
Adsldp.dll5.0.2195.6748124,68819-Jun-200305:28x86
Adsldpc.dll5.0.2195.6748132,36819-Jun-200305:28x86
Adsmsext.dll5.0.2195.674863,76019-Jun-200305:28x86
Advapi32.dll5.0.2195.6743381,20019-Jun-200305:28x86
Browser.dll5.0.2195.675369,39206-Jun-200304:53x86
Dnsapi.dll5.0.2195.6680134,92819-Jun-200305:28x86
Dnsrslvr.dll5.0.2195.666392,43219-Jun-200305:28x86
Eventlog.dll5.0.2195.675347,37619-Jun-200305:28x86
Kdcsvc.dll5.0.2195.6747148,24019-Jun-200305:28x86
Kerberos.dll5.0.2195.6758205,07218-Jun-200302:43x86
Ksecdd.sys5.0.2195.669571,88826-Mar-200306:37x86
Lsasrv.dll5.0.2195.6749509,71228-May-200305:39x86
Lsass.exe5.0.2195.674933,55228-May-200305:39x86
Msv1_0.dll5.0.2195.6680117,52004-Apr-200309:12x86
Netapi32.dll5.0.2195.6601311,56819-Jun-200305:28x86
Netlogon.dll5.0.2195.6695371,98419-Jun-200305:28x86
Ntdsa.dll5.0.2195.66971,040,14419-Jun-200305:28x86
Samsrv.dll5.0.2195.6742392,46419-Jun-200305:28x86
Scecli.dll5.0.2195.6737131,34419-Jun-200305:28x86
Scesrv.dll5.0.2195.6737306,44819-Jun-200305:28x86
Sp3res.dll5.0.2195.67564,576,76817-Jun-200302:54x86
W32time.dll5.0.2195.660151,47219-Jun-200305:28x86
W32tm.exe5.0.2195.660157,10415-Aug-200222:32x86
Wldap32.dll5.0.2195.6741126,22419-Jun-200305:28x86

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: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
File nameFile versionFile sizeDateTimePlatform
Kerberos.dll5.1.2600.1228273,92030-May-200305:38x86
Microsoft Windows XP Service Pack 1 (SP1), Itanium-based versions
File nameFile versionFile sizeDateTimePlatform
Kerberos.dll5.1.2600.1228929,79230-May-200305:39IA-64
Wkerberos.dll5.1.2600.1228273,92030-May-200305:11x86

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" 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


Modification Type:MinorLast Reviewed:7/24/2006
Keywords:kbQFE kbHotfixServer kbWinXPsp2fix kbWinXPpreSP2fix kbBug kbfix kbWin2000preSP5fix kbpubtypekc KB818173 kbAudITPRO kbAudDeveloper