Active Directory
--
Questions
--
Followers
Top Experts
Duplicate spn for MSSQLSvc, what to do?
Hello Experts!
My domain controller is giving a periodic error:
Kerberos-Key-Distribution- Center, event id 11
Description:
The KDC encountered duplicate names while processing a Kerberos authentication request. The duplicate name is MSSQLSvc/computer.domain.c om:1433 (of type DS_SERVICE_PRINCIPAL_NAME) . This may result in authentication failures or downgrades to NTLM. In order to prevent this from occuring remove the duplicate entries for MSSQLSvc/computer.domain.c om:1433 in Active Directory.
I read up and there are suggestions to run setspn -x to get duplicate spn entries.
C:\Users\AdminUser3>setspn -X
Processing entry 0
MSSQLSvc/ComputerDB01.doma in.com is registered on these accounts:
CN=AdminUser1,OU=AdminUser s,DC=domai n,DC=com
CN=AdminUser2,OU=AdminUser s,DC=domai n,DC=com
MSSQLSvc//ComputerDB02.dom ain.com is registered on these accounts:
CN=AdminUser1,OU=AdminUser s,DC=domai n,DC=com
CN=ComputerDB02,OU=Managed ,OU=Server s,DC=domai n,DC=com
MSSQLSvc/ComputerDB02.doma in.com:143 3 is registered on these accounts:
CN=AdminUser1,OU=AdminUser s,DC=srhos t,DC=secur e-res,DC=c om
CN=ComputerDB02,OU=Managed ,OU=Server s,DC=domai n,DC=com
MSSQLSvc/ComputerDB01.srho st.secure- res.com:14 33 is registered on these accounts:
CN=AdminUser1,OU=AdminUser s,DC=domai n,DC=com
CN=AdminUser3,CN=Users,DC= domain,DC= com
CN=ComputerDB01,OU=Managed ,OU=Server s,DC=domai n,DC=com
found 4 groups of duplicate SPNs.
So I have two separate spns one for each SQL Server and one for the SQL Server on port 1433. The first one has just two users on it, one of them on a disabled account. I removed that entry via adsi edit.
Reading some posts, there is comment as to which account should have the spn. What I see is that if your instance of SQL is running under Localsystem, that that computer should have the spn on it.
My questions. What is the best course of action here to clean up these records? These are critical servers that I do not want to bring down. Should all entries have the local computer account? What's the difference between the entry without a port and the one with the port 1433?
My domain controller is giving a periodic error:
Kerberos-Key-Distribution-
Description:
The KDC encountered duplicate names while processing a Kerberos authentication request. The duplicate name is MSSQLSvc/computer.domain.c
I read up and there are suggestions to run setspn -x to get duplicate spn entries.
C:\Users\AdminUser3>setspn
Processing entry 0
MSSQLSvc/ComputerDB01.doma
CN=AdminUser1,OU=AdminUser
CN=AdminUser2,OU=AdminUser
MSSQLSvc//ComputerDB02.dom
CN=AdminUser1,OU=AdminUser
CN=ComputerDB02,OU=Managed
MSSQLSvc/ComputerDB02.doma
CN=AdminUser1,OU=AdminUser
CN=ComputerDB02,OU=Managed
MSSQLSvc/ComputerDB01.srho
CN=AdminUser1,OU=AdminUser
CN=AdminUser3,CN=Users,DC=
CN=ComputerDB01,OU=Managed
found 4 groups of duplicate SPNs.
So I have two separate spns one for each SQL Server and one for the SQL Server on port 1433. The first one has just two users on it, one of them on a disabled account. I removed that entry via adsi edit.
Reading some posts, there is comment as to which account should have the spn. What I see is that if your instance of SQL is running under Localsystem, that that computer should have the spn on it.
My questions. What is the best course of action here to clean up these records? These are critical servers that I do not want to bring down. Should all entries have the local computer account? What's the difference between the entry without a port and the one with the port 1433?
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
You can use the SetSPN tool to remove clean up these SPNs :
http://technet.microsoft.com/en-us/library/cc755413(WS.10).aspx
http://technet.microsoft.com/en-us/library/cc755413(WS.10).aspx
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Closing this out. I'm not having problems since making the change.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Active Directory
--
Questions
--
Followers
Top Experts
Active Directory (AD) is a Microsoft brand for identity-related capabilities. In the on-premises world, Windows Server AD provides a set of identity capabilities and services, and is hugely popular (88% of Fortune 1000 and 95% of enterprises use AD). This topic includes all things Active Directory including DNS, Group Policy, DFS, troubleshooting, ADFS, and all other topics under the Microsoft AD and identity umbrella.