Active Directory Domain Services
Cheat sheet · https://pcornel.dk/topic.php?topic=372
Answer
AD DS is a distributed directory service built around forests, domains, directory partitions, domain controllers and directory objects. It provides identity lookup and policy infrastructure, but its health depends on DNS, time, replication, authentication and network reachability.
Remember
- AD DS is a distributed directory, not a single-server database.
- Forest is the top-level AD DS instance and primary security/isolation boundary; domains are partitions and administrative scopes inside it.
- DNS/DC Locator, time, authentication, LDAP access and replication are separate dependencies.
- A reachable DC does not prove the directory data is current or the requested identity operation will succeed.
First checks
Get-ADDomain— domain details and FSMO holdersGet-ADDomainController -Filter * | Select HostName,Site,IsGlobalCatalog— DCsdcdiag /v /e /q— DC health tests (errors only with /q)repadmin /replsummary— replication summarynltest /dsgetdc:<domain>— DC locator
Verify in this order
DNS locates DCs → authentication → replication between DCs → directory data
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.
Active Directory evidence chain
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | Get-ADDomain | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | computer/domain context → effective policy/configuration → role/service → dependency/replication/network → event evidence → user/service outcome | application success |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=372