2

We've got a lot of Kerberos auth used in our environment that mostly seems to work, but a few errors still pop up when we turn on Kerberos error logging. The two that bother me the most are both KDC_ERR_S_PRINCIPAL_UNKNOWN which according to http://technet.microsoft.com/en-us/library/cc772897(WS.10).aspx is that the SERVER is not in the Kerberos db. Assume a domain of corp.lan, the two error messages are for servername: app.corp.lan and dc1.corp.lan. Now when I do a setspn -l app , I get plenty of spn's , but none for app.corp.lan. Same for dc1, setspn -l dc1 returns 15+ records, setspn -l dc1.corp.lan retruns an error. Is this a 'real' error we should be trying to track down and fix or is that just some odd app doing bad Kerb requests?

chris.w.mclean
  • 155
  • 4
  • 13

1 Answers1

1

You need to check on the error messages for what service these SPN's are not registered.

It means that kerberos Auth will fail for these services. Maybe there's a NTLM second option, maybe not. You should check this per service returning an error.

I've noticed that sometimes the error message doesn't show the kerberos service that the ticket is being requested for, so you could use Ethereal to check this out. I wish there was some sort of querying (like sql) onto event viewer.

If its all working I usually don't bother, but you could find something bellow the carpet later if you ever need using something that is broken and you never knew.