Pcornel
Identity · Active Directory Domain Services

Users

Cheat sheet · https://pcornel.dk/topic.php?topic=3238

Back to the Topic

Answer

A user object combines directory identity data with security-principal properties such as SID and logon names. Authentication validates credentials; authorization evaluates the resulting security context against resource permissions.

Remember

  • User object existence is separate from account enabled state and credential validity.
  • SID is the durable Windows security identifier; display name/UPN can change.
  • UPN, sAMAccountName and distinguished name serve different purposes.
  • Group membership in AD is not identical to the groups present in an already-issued access token.

First checks

  • Get-ADDomain — domain details and FSMO holders
  • Get-ADDomainController -Filter * | Select HostName,Site,IsGlobalCatalog — DCs
  • dcdiag /v /e /q — DC health tests (errors only with /q)
  • repadmin /replsummary — replication summary
  • nltest /dsgetdc:<domain> — DC locator

Verify in this order

user object → authentication → groups in token → GPOs by OU

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 Domain Services → Users reference map

BoundaryMeaningEvidence limit
DNDirectory locationchanges on move/rename
SIDSecurity identityused by ACL/token
UPNUser-style logon namecan differ from DNS domain
Account stateEnabled/locked/expirynot password/auth proof

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3238

Confirmation

Confirm action

Continue?