Problem with Kerberos not working until Domain Controller is rebooted

Posted on 2008-06-25
Last Modified: 2008-07-17
We have set up Kerberos so that we can hop between SharePoint 2007, ProClarity and a SQL server without forcing users to re-authenticate. Most of the time this works fine. However we are seeing an issue where Kerberos stops working and the application passes along anonymous login - and of course we don't allow anonymous access to our databases so this fails. We have found that rebooting one of our domain controllers (Windows Server 2003) (that also happens to be our global catalog server) we can make this issue disappear - for a limited amount of time. I dont' see anything obvious in the logs. I have run a dcdiag on the domain controller - everything passes. I have suspected for some time that we were having issues with this server but have nothing solid to point at. Can anyone give me some ideas of what to look for? Are there any additional tests I can run on this server?

Thanks in advance,
Question by:mrbarr87
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 23

Expert Comment

ID: 21879147
No Kerberos errors in the system log on the DC?  Is that the only DC?  Can you shut it down for a day or two and see if everything works without that DC online?

Author Comment

ID: 21879344
No kerberos errors in the logs. No we have another DC. I can't shut it down because it's our global catalog - exchange would be very unhappy without it. We are considering throwing up a third dc and making it a GC to see if things get happier - any reason not to do this?
LVL 23

Expert Comment

ID: 21879397
Just make your other DC a GC as well...why would you need a 3rd one?
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 21908761
If we are going to shut down the 2nd domain controller, we would want to have another one up in its place. Since the problems are intermittent, we don't know how long it will be before we see the issue again.

Is there anything else to look for in troubleshooting kerberos issues? Any tests?
LVL 23

Expert Comment

ID: 21908810
There are command line tests to see what tickets are open, etc.

It talks about where to get klist and kerbtray and others to do troubleshooting.  Problem is, based on what your original description was, I'm not sure how good the tools will do you.

If nothing else, it may point out whether it really is a kerberos issue or not.

Author Comment

ID: 21908842
Hmm good point. I guess my question then should be, other than taking the GC down - is there a way to test that DC? I did run the dcdiag - but everything came up clean - of course at that time we weren't experiencing the problem. Are there specific tests for gc? Or just wait until the error happens again then run the dcdiag?

Thanks for your time!
LVL 23

Accepted Solution

TheCleaner earned 500 total points
ID: 21908919
To enable Kerberos logging navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters. Then set the DWORD value for LogLevel to one. Making this change logs the events to the System event log.

^^ try that on the DC(s) and set your system event log to have a big enough size to handle the events.  Then watch for times when the errors occur and see if they correspond to events in the log.  This should log all the kerberos events, even successful ones, so it should be apparent if there really is an issue or not at that point.

If you could always reproduce the issue, I'd say a network trace during the issue would be the way to go, but if it's sporadic it's going to be hard to go that route.

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In-place Upgrading Dirsync to Azure AD Connect
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question