SMB Server
Cheat sheet · https://pcornel.dk/topic.php?topic=4149
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 settingsGet-SmbSession— sessionstestparm -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 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 | SMB 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 |
| Acceptance | Healthy 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