Authentication may intermittently fail

Article translations Article translations
Article ID: 818173
Expand all | Collapse all

On This Page

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 available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
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.
Collapse this tableExpand this table
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 available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
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
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Kerberos.dll5.1.2600.1228273,92030-May-200305:38x86
Microsoft Windows XP Service Pack 1 (SP1), Itanium-based versions
Collapse this tableExpand this table
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

Properties

Article ID: 818173 - Last Review: October 9, 2011 - Revision: 6.0
Keywords: 
kbautohotfix kbqfe kbHotfixServer kbwinxpsp2fix kbwinxppresp2fix kbbug kbfix kbwin2000presp5fix KB818173

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com