Pcornel
Storage · SMB

SMB Server

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

Back to the Topic

Answer

The server separates protocol/session handling from share configuration and filesystem authorization. A healthy listener can still reject authentication, hide a share, deny ACL access or encounter backend I/O failures.

Remember

  • SMB service running ≠ share exists.
  • Share exists ≠ client authorized.
  • Authenticated user ≠ filesystem allowed.
  • Server responds ≠ backend storage healthy.

First checks

  • Get-SmbServerConfiguration — server settings
  • Get-SmbSession — sessions
  • testparm -s (Samba) — validate smb.conf

Verify in this order

SMB server service → shares → filesystem

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 → SMB Server 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 server process health proves an endpoint is available, not that a requested share, identity, ACL or backing storage path is healthy.Correlate client, network, server and filesystem evidence for the same operation/time window
AcceptanceHealthy evidence: server negotiates intended dialect/security, authenticates expected identities, serves the configured share and completes backend file operations without errors.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=4149

Confirmation

Confirm action

Continue?