Link to home
Start Free TrialLog in
Avatar of RF-MDG
RF-MDGFlag for United States of America

asked on

KDC Error 11 - duplicate SPN's for SQL Server

Apologies, but I've been reading a lot about SPN's and my brain is melting and I don't want to break something trying to fix this.

My DC's have the following error:

Event Type:      Error
Event Source:      KDC
Event Category:      None
Event ID:      11
Date:            9/25/2013
Time:            10:15:01 AM
User:            N/A
Computer:      *DC1
Description:
There are multiple accounts with name MSSQLSvc/<sqlservername>.<domain>.local:1433 of type DS_SERVICE_PRINCIPAL_NAME.


When I run "setspn -X" on the sqlserver in question, I get these results:

Checking domain DC=<domain>,DC=local
Processing entry 0
MSSQLSvc/MSSQLSvc/<sqlservername>.<domain>.local is registered on these accounts:
        CN=sqlservice,CN=Users,DC=<domain>,DC=local
        CN=Administrator,CN=Users,DC=<domain>,DC=local
        CN=<sqlservername>,OU=Servers,DC=<domain>,DC=local

MSSQLSvc/MSSQLSvc/<sqlservername>.<domain>.local:1433 is registered on these accounts:
        CN=sqlservice,CN=Users,DC=<domain>,DC=local
        CN=Administrator,CN=Users,DC=<domain>,DC=local
        CN=<sqlservername>,OU=Servers,DC=<domain>,DC=local

found 2 groups of duplicate SPNs.


I know I need to run "setspn -D" to delete the duplicate SPN, but I'm not 100% sure what that is...

Please help!
Avatar of Pramod Ubhe
Pramod Ubhe
Flag of India image

i am also not expert on SPNs but dealt with them in past. there is no doubt that you need to delete one of the duplicate spns. Now in my env. usually SPNs are set on service accounts and not on servernames.

here you can delete the SPN on server object and test if that works.

If you are familiar with ADSI, i will recommend you to do the changes through it as it is a GUI based but any mistakes in ADSI will be non-reversal and may impact heavily.

if you are not sure then just use SETSPN command but make a note of all changes so that you can revert them back.
ASKER CERTIFIED SOLUTION
Avatar of VirastaR
VirastaR
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
check this one: what it is and how to remove dups

The 411 on the KDC 11 Events
http://blogs.technet.com/b/askpfeplat/archive/2012/03/29/the-411-on-the-kdc-11-events.aspx
Avatar of RF-MDG

ASKER

Kickass! Thanks for the help, it's all fixed now.