Users
Cheat sheet · https://pcornel.dk/topic.php?topic=3238
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 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
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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| DN | Directory location | changes on move/rename |
| SID | Security identity | used by ACL/token |
| UPN | User-style logon name | can differ from DNS domain |
| Account state | Enabled/locked/expiry | not 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