Sites
Cheat sheet · https://pcornel.dk/topic.php?topic=3249
Answer
AD sites map subnets to physical locations so clients find a nearby domain controller and replication between locations is controlled. Each subnet must be assigned to a site in AD Sites and Services.
Remember
- A client in an unmapped subnet may authenticate to a distant DC.
- nltest /dsgetsite shows the site a client thinks it is in.
- Each site with users should have a DC or a planned fallback.
First checks
repadmin /replsummary— replication status summaryrepadmin /showrepl <dc>— inbound partners and last resultsrepadmin /queue <dc>— pending inbound replicationGet-ADReplicationFailure -Target <dc>— failuresdcdiag /test:replications— replication test
Verify in this order
intra-site (change notification) and inter-site (schedule) replication
Where it usually breaks
First mismatch in forest/domain/object identity → authoritative DC/source policy → replication/KDC/GP processing → client token/effective policy → target resource → event/audit verification; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3249