Microsoft KB Archive/305971

= Windows 2000 Server Prompts Domain User for Credentials =

Article ID: 305971

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 2

-



This article was previously published under Q305971



SYMPTOMS
When a domain user tries to connect to a Windows 2000-based server that is a member of the same domain, the user may be prompted for credentials before being granted access.

You may also receive the following event in the event log:

Event Type:Error

Event Source:KDC

Event Category:None

Event ID:11

Description: There are multiple accounts with name host/SERVERNAME.microsoft.com of type10



CAUSE
This behavior can be caused by a duplicate SPN (ServicePrincipalName) value in the Active Directory tree.



RESOLUTION
NOTE: Only experienced administrators should consider using the Ldp.exe and Adsiedit.msc tools that are called for in the following procedure.

To resolve this behavior, use the Ldp.exe tool to determine the location of the duplicate SPN value, and then use the Adsiedit.msc tool to remove the duplicate SPN value. Follow these steps on a Windows 2000-based domain controller:  Click Start, and then click Run. Type ldp, and then click OK. Click Connection, click Connect, and then click OK. Leave the Server box blank. Click Connection, click Bind, and then click OK. Leave all fields blank. Click View, click Tree, and then click OK. Leave the BaseDN window blank. Click Browse, and then click Search.</li> Set the BaseDN as DC=Home and DC=com, separated by a comma. For example, if the FQDN name of the domain is Mydomain.com, type DC=Mydomain,DC=com .</li> Set the filter to the following:

serviceprincipalname=Host/. .com

For example, if the relevant computer is named Computer1 and the domain name is Mydomain.com, type the following:

serviceprincipalname=Host/Computer1.Mydomain.com

</li> Set Scope to Subtree, and then click Run.</li> After you locate the duplicate SPN, you can use the Adsiedit.msc tool to go to the object, view the duplicate SPN value, and remove the duplicate SPN value.</li> Move the server from the domain to a workgroup, delete the server's computer account from the domain, and then join the server to the domain again, using the same computer account.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
Adsiedit.msc is a Microsoft Management Console (MMC) snap-in that acts as a low-level editor for Windows 2000 Active Directory. You can use Adsiedit.msc to add, delete, and move objects within the directory services and to view, change, and delete the attributes of each object. Adsiedit.msc and Ldp.exe are included on the Windows 2000 installation CD. You can install these tools from the CD in Support\Tools\Setup.exe.

Only experienced administrators should use these tools because removing the wrong entries in either Ldp.exe or Adsiedit.msc can require reinstallation of the computer.

For additional information about installing these tools, click the article number below to view the article in the Microsoft Knowledge Base:

301423 How to Install the Windows 2000 Support Tools

Keywords: kbenv kbnetwork kbprb KB305971

-

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

© Microsoft Corporation. All rights reserved.