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?
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.


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

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

687 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