SMB2
Cheat sheet · https://pcornel.dk/topic.php?topic=4153
Answer
Client and server negotiate a common dialect before session setup. SMB 2.x provides the foundation on which later SMB 3.x features evolved, but feature availability depends on the specific dialect and implementation.
Remember
- SMB2 ≠ SMB1.
- SMB 2.0.2 ≠ SMB 2.1 feature set.
- SMB2 label ≠ SMB3 features automatically.
- Negotiated dialect ≠ every optional capability active.
First checks
Get-SmbConnection | ft Dialect— 2.x dialectsGet-SmbServerConfiguration | fl EnableSMB2Protocol— enabledsmbclient -m SMB2 -L //srv— force dialect
Verify in this order
client ↔ SMB2 dialect ↔ server
Where it usually breaks
First mismatch in client identity/DNS → network transport → protocol session → authentication/authorization → export/share → backend filesystem → file operation; preserve identity/pre-state before mutation.
SMB → SMB2 file-service map
| File-service boundary | What to verify | Proof limit |
|---|---|---|
| Endpoint / namespace | Correct client, server, export/share, path and negotiated protocol version | Reachability or namespace visibility does not prove authorization or backend health |
| Identity / security | Effective identity, protocol security state and export/share/filesystem authorization | Authentication or one permission layer does not prove complete file access |
| Failure boundary | Negotiating an SMB2-family dialect proves protocol compatibility only; it does not prove authentication, authorization, performance or later SMB3-only capabilities. | Correlate client, network, server and filesystem evidence for the same operation/time window |
| Acceptance | Healthy evidence: a supported intended SMB2 dialect is negotiated with compatible security policy and subsequent session/share/file operations succeed. | Close only after the original operation and server-side/read-back verification succeeds |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4153