Pcornel
Storage

SMB

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

Back to the Topic

Answer

An SMB workload resolves a server, establishes transport, negotiates a dialect and security capabilities, authenticates a session, connects to a share, passes share and filesystem authorization, then performs file operations against the server backend.

Remember

  • TCP 445 reachable ≠ SMB authentication or share access.
  • SMB session authenticated ≠ file authorized.
  • SMB signing ≠ encryption.
  • SMB share ≠ underlying filesystem path or backup.

First checks

  • Get-SmbShare — shares (server)
  • Get-SmbConnection | ft ServerName,ShareName,Dialect,NumOpens — client connections
  • smbstatus — Samba sessions

Verify in this order

client → SMB3 (445) → server → NTFS/ACL

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 file-service map

File-service boundaryWhat to verifyProof limit
Endpoint / namespaceCorrect client, server, export/share, path and negotiated protocol versionReachability or namespace visibility does not prove authorization or backend health
Identity / securityEffective identity, protocol security state and export/share/filesystem authorizationAuthentication or one permission layer does not prove complete file access
Failure boundarySMB transport or session success proves only part of the access chain; it does not prove share existence, authorization, durable writes, HA behavior or application consistency.Correlate client, network, server and filesystem evidence for the same operation/time window
AcceptanceHealthy evidence: intended dialect/security are negotiated, the correct identity authenticates, expected share and filesystem access succeeds, and representative data is read back from the server.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=4146

Confirmation

Confirm action

Continue?