Article ID: 887993 - Last Review: February 10, 2009 - Revision: 4.0 Users experience authentication issues when they access a Web page in IIS 6.0 or query Microsoft SQL Server 2000 after you install Windows Server 2003 Service Pack 1On This PageSYMPTOMSYou upgrade a Microsoft Windows Server 2003-based computer
that is running Microsoft Internet Information Services (IIS) 6.0 or Microsoft
SQL Server 2000 to Windows Server 2003 Service Pack 1 (SP1). After you do this,
users experience authentication issues when they use Web applications or when
they use a program that queries the database. For example, a user may
experience symptoms that are similar to one of the following:
CAUSEThis issue occurs if the service principal name (SPN) of the
service is not authenticated. The SPN is not authenticated if the SPN is not
registered to a service account. Windows Server 2003 SP1 includes loopback
check functionality that is stored in the following registry entry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\DisableLoopbackCheck By default, loopback check functionality is turned on in Windows
Server 2003 SP1, and the DisableLoopbackCheck registry entry is set to 0
(zero). The loopback check functionality prevents the program from registering
the SPN.RESOLUTIONImportant This section, method, or task contains steps that tell you how to
modify the registry. However, serious problems might occur if you modify the
registry incorrectly. Therefore, make sure that you follow these steps
carefully. For added protection, back up the registry before you modify it.
Then, you can restore the registry if a problem occurs. For more information
about how to back up and restore the registry, click the following article
number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows Important By default, loopback check functionality is turned on in Windows Server 2003 SP1, and the DisableLoopbackCheck registry entry is set to 0 (zero). The security is reduced when you disable the authentication loopback check, and you open the Windows Server 2003 server for man-in-the-middle (MITM) attacks on NTLM. To avoid MITM attacks, the value of registry entry should be returned to zero (0) after the SPN changes are made. Also, method 1 is the preferred solution. Method 1: Create the Local Security Authority host names that can be referenced in an NTLM authentication request (preferred)
Method 2: Disable the authentication loopback check and register the SPN with the account that the service runs underTo resolve this issue, disable the authentication loopback check, and then register the SPN with the account that the service runs under. To do this, set the DisableLoopbackCheck entry in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa registry subkey to 1, and then determine the name of the SPN.Step 1: To set the DisableLoopbackCheck registry entry to 1
Step 2: To determine the name of the SPN
Step 3: Use the Setspn.exe command-line tool to register the SPN to the appropriate service accountIn IIS 6.0, the service account is typically the account that the WWW service runs under or the account that the application pool uses. In Microsoft SQL Server 2000, the service account is the account that SQL Server 2000 runs under. Use the following syntax to add a new SPN:setspn -a SPN DomainName\AccountName The following is an example of how to use the Setspn.exe command-line tool to add an SPN: setspn -a MSSQLSvc/NLBNAME.corp.domain.com:1433 DomainName\AccountName MORE INFORMATIONThe Setspn.exe command-line tool is included in Microsoft
Windows Server 2003 Support Tools. You can install Windows Server 2003 Support
Tools from the Support\Tools folder of the Windows Server 2003 CD.
For more information, click the following article number to view the article in the Microsoft Knowledge Base: 837361
(http://support.microsoft.com/kb/837361/
)
Kerberos protocol registry entries and KDC configuration keys in Windows Server 2003
After you install security update 957097, applications such as SQL Server or Internet Information Services (IIS) may fail when making local NTLM authentication requests. For more information about how to resolve this issue, click the following article number to view the article in the Microsoft Knowledge Base: 957097
(http://support.microsoft.com/kb/957097/
)
MS08-068: Vulnerability in SMB could allow remote code execution
See the "Known issues with this security update"
section of KB article 957097 for details about how to resolve the issue.
| Article Translations
|
Back to the top
