Solved

2003 DC issuse over VPN

Posted on 2009-05-09
10
641 Views
Last Modified: 2013-12-04
I have a small network with several branch offices.

The Network:
- Main office has the FSMO w/another DC and four branch offices all have DC's with DNS local.
- Branch office has 5 pc's each with a local SQL server.
- The branch offices were connected via RRAS VPN.
- That RRAS server died. (long story)
- The powers that be decided to do Router to Router VPN's via Astaro 120's with IPSEC at 128 and auto filter. The VPN is wide open and no packet filtering.
- The branch offices were offline for 5 months
- Reconnected the DC's from branch office to main office.
- Some replication is occuring like accounts
- The branch office can not access the main office resources such as shares and SQL.
- Remote desktop works from branch to main office.
- All Antivirus has been removed from the servers at main FSMO, and Branches DC's.
- All ports are open across the VPN and no port or packet filtering is taking place. It is wide open.
- No local firewall software is running on any of the servers
- All Anit-spyware software has been removed
- All Servers and routers are current with security updates
- DNS is resolving both by IP and Name both FQDN and by netbios names at all sites
- All devices are pingable by IP and Name on both sides of the VPN
- Active Directory Replication is occuring but with issues
- Devices from Main office CAN access ALL shared resources on the branch DC's and network via the VPN
- All netdiag tests PASSed on both ends of the VPN at each site
- All routing is routing correctly
- The local branch sites have the kerberos tickets for the Main office servers

Known Issues:
- Branches cannot access shared resources by Name at Main office in GUI or command line has System 5 error, BUT they can access all resources by IP address
- Branches Errors are occurring with kerberos with authentication is attempted
- Branches Errors are occurring when SQL authentication is attempted and return error is SSPI
- Branches is stating replication errors in Active Directory
- Main Office server(s) appear to be missing the kerberos tickets for authentication for the remote sites
- Kerberos error in log at Main Office all fields are blank in log event.

What I do not know:
- Is the VPN not forwarding the kerberos tickets for authentication
- Does Active Directory has some sort of unknown issue with Kerberos
- Is SQL Security not binding correctly with Active Directory

Somehow I feel the delay in getting the branch office back online has caused something to get out of sync.

Pulling out my hair, would like some direction on a resolution and what logs I need to post here.
Thanks
0
Comment
Question by:technutz
[X]
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
10 Comments
 
LVL 6

Expert Comment

by:castellansolutions
ID: 24346709
Hmmm... This is pretty freaky... I wonder what about:

You mentioned that the dcs (of the branch offices) and the FSMO DC's were not connected for 5 months? You mentioned that your dns is good? I know that windows will "Invalidate" and account if that computer account is not in contact with the dc and able to sync/update password changes within 30 days.


Can any dc at any branch office connect to the main dc by name? Can any client machine connect to the branch office DC by name? Can any client pc connect to the Main Dc's by name if you change the dns settings of the client pc to the ip of the fsmo rolde holder? (using the fsmo role as the dns server?)

 -Branches Errors are occurring with kerberos with authentication is attempted | Are you getting any PAC Errors?
-- Does Active Directory has some sort of unknown issue with Kerberos: No AD Loves Kerberos!

What client eventlog errors are you getting? If youre getting 1030 (etc) errors, try rejoining the client pc to the domain using the same name (Reset the client PC account name, or delete it) but join it using the dns of the FSMO role holder...


Robert
0
 

Author Comment

by:technutz
ID: 24346784
Ok freaky I can agree with...

No passwords have been changed with admin or user account as they on have one account called staff... yeah I know about mutli accounts but...it is complicated with just a couple of accounts....

Q: You ask can any DC connect to main dc by name?
A: No, but yes by IP, really weird that is.

Q: Can Client connect to main DC by names if dns is changed? I have not tried that. I have only focused on trying to get DC to talk to Main DC. Clients only need to talk to local DC. I will have to experimnet with that. Not the better solution with that config.

Q: Am I getting PAC errors.
A: I would says no, because I do not know what that is and it does not appear in the logs.

Q: Does AD have issues with kerberos?
A: I can only state that the tickets on the local DC do not match the tickets on the FSMO DC.

Q: Sumary: Eventlog on re-join.
A: I have not attempted a re-join, as I do not understand why the current join is not working or where to begin to troubleshoot.... :(

Freaky guy signing off...plz help if you have a clue...ho hummmm...sigh

Thanks for tasking!
0
 
LVL 10

Expert Comment

by:Korbus
ID: 24349505
I'm going to bet it's DNS issue.  
Make sure your local DNS servers redirect to your main office's DNS server(over the VPN).   OR add your main office's DNS server to a secondary DNS server on client PC's at a branch office.
0
IoT Devices - Fast, Cheap or Secure…Pick Two

The IoT market is growing at a rapid pace and manufacturers are under pressure to quickly provide new products. Can you be sure that your devices do what they're supposed to do, while still being secure?

 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 24350115
Just something to try here, you said that you implemented a new router to router VPN.   Maybe you only need to use TCP for kerberos (or try it on a few machines)
http://blogs.technet.com/askds/archive/2008/03/06/kerberos-for-the-busy-admin.aspx
A common problem is that routers will arbitrarily fragment UDP packets; when this happens the Kerberos ticket request packets are discarded by the KDC. Windows Vista and Windows Server 2008 now default to using TCP for kerberos ticket requests. Typically you work around this issue by implementing the following KB article:

244474 How to force Kerberos to use TCP instead of UDP in Windows Server 2003, in Windows XP, and in Windows 2000 - http://support.microsoft.com/default.aspx?scid=kb;EN-US;244474
We are testing a new VPN and have had some issues and may try to foce TCP also.
Thanks
Mike
0
 

Author Comment

by:technutz
ID: 24350706
@Korbus: I changed the DNS to point to the main office and disable the local DNS. Still no dice, System Error 5 Access denied. I have put them back into place as normal.

@mkline71: I have made the req change to switch to TCP for Kerberos. I am waiting for another the opportunity to reboot and we will find out.

Thanks!
0
 

Author Comment

by:technutz
ID: 24350968
@Korbus:

After rebooting and Forcing Kerberos both on the branch office and main office server did not work. Below is the error message when the branch office attempts to connect. Again there are no tickets at the main office that represent the branch office using the ticket viewer utility.


Event Type: Failure Audit
Event Source: Security
Event Category: Logon/Logoff
Event ID: 529
Date:  5/10/2009
Time:  9:23:19 PM
User:  NT AUTHORITY\SYSTEM
Computer: UCSVR01
Description:
Logon Failure:
   Reason:  Unknown user name or bad password
  User Name:
  Domain:  
  Logon Type: 3
  Logon Process: Kerberos
  Authentication Package: Kerberos
  Workstation Name: -
  Caller User Name: -
  Caller Domain: -
   Caller Logon ID: -
  Caller Process ID: -
  Transited Services: -
  Source Network Address: 192.168.8.5
  Source Port: 1186

Any other thoughts? How can I tell if the DC has tomb stoned? or How can I make kerby happy at the PDC at the main office?

Thanks!
0
 
LVL 57

Assisted Solution

by:Mike Kline
Mike Kline earned 500 total points
ID: 24352883
You can run dcdiag /v or repadmin /showreps to see the last time replication happened (help with the tombstoned question)
0
 

Author Comment

by:technutz
ID: 24358452
Ok this was deeper that I could troubleshoot alone. However I do have a resolution now:

The router was not the problem and was confirmed by vendor looking at captured packets and kerberos. They were being passed.

The root issues: (per Microsoft Support)
- Since the branch office had been offline and not able to talk due to the VPN being down to the Primary Domain Controller. The branch offices did not received the encryption information update they needed to authenticate talk to the PDC. While the branch offices where not connected, the PDC updated itself with new security encryption information using tickets for Kerberos. Therefore the PDC was refusing to talk to all the branch offices with the old tickets used by the domain controllers at the branch offices. All this stuff is deep level stuff that I normal do not see, that is until it breaks of course.
 
The fix:
- Purge the kerberos tickets at branch offices
- Request new ones from PDC.
- Reboot

This has fixed the ALL resource sharing and SQL between branch offices and Main office.

Here is all we had to do for anyone else that runs into this issue:

In Console:
- net stop kdc
- klist purge ( windows resource kit /tools)
- netdom resetpwd /server:pdc /userd:administrator  /passwordd: password

if it says successfull run the following command
- net use \\pdc\ipc$

if this is successfull run
- net start kdc

Reboot Server

I hope that help!
0
 

Author Closing Comment

by:technutz
ID: 31579840
Even though I had to get Microsoft Active Directory support involve we were close to an answer. I gave credit to those that posted links, commands and references to research. I thank everyone that participated.
0
 
LVL 57

Expert Comment

by:Mike Kline
ID: 24358539
Good fix man!!! Nicely done, I should have gotten the klist purge...I love learning :)
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
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 …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

617 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