Active Directory replication failing with Access is Denied
Are there any relevant errors in the System, Authentication or Directory Service Event logs to accompany this? Do dcdiag and/or netdiag on the servers give any clues? Does ENTERPRISE DOMAIN CONTROLLERS have read access to the sites in AD Sites and Services? Just same basic things to check and ask because this could be cause by any number of things. At the very least, I would expect some sort of error or authentication failure to be logged when you force the replication. You may want to increase your auditing for the purposes of troubleshooting.
Related videos on Youtube
Justin Love
Updated on September 17, 2022Comments
-
Justin Love almost 2 years
I recently discovered that Active Directory replication started failing about a month ago. If I attempt to
Replicate Now
from the failing domain controller, I receiveThe following error occurred during the attempt to synchronize the domain controllers: Access is denied.
Directory Service log tells basically the same story; repeating two events
- 1061: Internal error: The directory replication agent (DRA) call returned error 5.
- 1085: Replication warning: The directory replication agent (DRA) couldn't synchronize partition DC=OUR_DOMAIN with partition on directory server big-long-guid._msdcs.OUR_DOMAIN. The error was: Access is denied
It is between two servers at a remote site. One is Windows 2003 and the other is Windows 2000; the Windows 2000 machines is experiencing the errors. The domain is older OUR_DOMAIN style.
Attempts so far:
- I disabled Kerberos service on the Windows 2000 server and restarted
- RPC and RPC locater services have expected settings
HKEY_Local_Machine\Software\Microsoft\Rpc\ClientProtocols
missingncacn_nb_tcp
on Windows 20003 server (added)- Portqry reports okay
- Firewall disabled
netdom resetpwd
(and reboot) on Windows 2000 server.ENTERPRISE DOMAIN ADMINS
has read access to site on both serversdcdiag /c
on 2003: Pass all except DNS Forward; several errors related to root hint servers, which don't seem releventdcdiag /c
on 2000: says replication failed (duh) (3 reports) and then passes the test(?) Reports IISADMIN and SMTPSVC missing (don't see why they would be needed) Lists some error events for kccevent (where are those in event viewer?) and some printer errors from systemlog.
-
raja about 14 yearsDoes DCDIAg show any issues on either server?
-
Justin Love about 14 yearsThere some messages in the Directory Service log, (added to main question text) but they tell the same story (Access is denied)
-
Justin Love about 14 yearsdcdiag on 2003 said it skipped
CheckSecurityErrors
because it needed a server name. (this option is sadly missing on 2000 dcdiag) Running it said there was 340 sec. time skew, enough to break the kerberos 5-minute window. Changing the clocks did it (Now off to find out to keep them in sync.) -
sinping about 14 yearsThe servers should really sync themselves assuming the PDC Emulator has a valid time source. Good reference for setting this up: support.microsoft.com/kb/816042