Use it when the symptom is “SMB Share Failure”: work through the layers in order and stop at the first one that fails.
SMB Share Failure
client → DNS → 445 → auth → share
Context & applicabilityCommon mistakes · platform/version boundaries
A share-access failure shows the requested SMB operation did not pass all required boundaries; it does not by itself distinguish transport, identity, share ACL or filesystem ACL.
Suspicious evidence includes TCP resets, negotiate/auth failures, Kerberos/NTLM issues, share ACL denial, NTFS denial or backend filesystem errors.
Operational reference
Fast context before you go deeper.
smbclient -L //<server> -U <user>Primary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- TCP 445 reachable ≠ SMB session established.
- Authenticated user ≠ authorized share access.
- Share Permissions ≠ NTFS/filesystem Permissions; effective access is the combined result.
- SMB signing ≠ SMB encryption.
Test-NetConnection <srv> -Port 445— reachableGet-SmbConnection; net use— client stateGet-WinEvent -LogName Microsoft-Windows-SmbClient/Connectivity -MaxEvents 20— errors
ReferenceImportant terms & boundaries3 sections · depth on demand
Scope and what the checks show
A share-access failure shows the requested SMB operation did not pass all required boundaries; it does not by itself distinguish transport, identity, share ACL or filesystem ACL.
In depth
Mounting a Windows/SMB share from Linux
# mount -t cifs //fs01/projects /mnt/projects -o credentials=/root/.smb-fs01,vers=3.1.1,uid=1000,gid=1000
mount error(13): Permission denied
# dmesg | tail
CIFS: VFS: \\fs01 Send error in SessSetup = -13
# cat /proc/fs/cifs/DebugData | grep -i dialect
mount.cifs(8) recommends a credentials= file (lines username=, password=, optional domain=) instead of passwords in /etc/fstab; protect it with chmod 600.
Error to cause
| Error | Typical cause |
|---|---|
error(13) Permission denied | Wrong user/password/domain, account locked, share ACL |
error(112) Host is down | SMB dialect mismatch (for example server allows only SMB3, client requested 1.0) or port 445 blocked |
error(2) No such file or directory | Wrong share name |
error(95) Operation not supported | Requested vers=/sec= not supported |
| Files owned by root, wrong modes | uid=, gid=, file_mode=, dir_mode= not set |
Options that decide success
vers=—defaultnegotiates the highest SMB2+ dialect both sides support; SMB1 (1.0) is not requested by default.sec=— defaultntlmssp;krb5for Kerberos; theivariants force signing.domain=— the user's domain or workgroup.
Debugging aids from the manual
Put --verbose before -o, check dmesg for options the kernel ignored, and check /proc/fs/cifs/DebugData for the negotiated dialect. For permanent mounts add _netdev so the mount waits for the network.
*The CIFS session setup error is an illustrative authentication diagnostic, not an actual share access attempt.*
Method
SMB share access failures, quick isolation:
Test-NetConnection fs01 -Port 445
Resolve-DnsName fs01
Get-SmbConnection
klist get cifs/fs01
net use \\fs01\Projects /user:CORP\alice
| Symptom | Cause |
|---|---|
| Works by IP, not by name (or the reverse) | DNS/SPN: Kerberos needs the name; IP falls back to NTLM |
| Access denied for some users | Share vs NTFS permissions, group membership token needs re-logon |
| "The specified network name is no longer available" | Network drops, SMB signing/encryption mismatch, antivirus/IDS |
| NAS share fails from new Windows | SMB 1-only device, signing required, guest access blocked |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage Troubleshooting → SMB Share Failure. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/block/index.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Storage Troubleshooting → SMB Share Failure proof map
Fast scope, dependency, failure-boundary and acceptance checks for Storage Troubleshooting → SMB Share Failure.
| Troubleshooting boundary | What to verify | Proof limit |
|---|---|---|
| Scope / identity | Exact workload, object/device identity, affected hosts and incident window | Symptom naming alone is not root-cause proof |
| Dependency path | Client path → DNS/IP/TCP445 → SMB negotiate → authentication/session → share/tree connect → share permissions → filesystem permissions → backend | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A share-access failure proves the requested SMB operation did not pass all required boundaries; it does not by itself distinguish transport, identity, share ACL or filesystem ACL. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence shows expected SMB dialect/session, successful tree connect and the exact permitted file operation with correct effective permissions. | Close only after the original workload/recovery test and regression check |