SMB
Cheat sheet · https://pcornel.dk/topic.php?topic=4130
Answer
SMB on a NAS shares folders with Windows and macOS clients, using Active Directory for authentication. Disable SMB1, require signing where needed, and use SMB 3 encryption for sensitive shares.
Remember
- Disable SMB1.
- Join AD for user authentication.
- Use SMB 3 encryption for sensitive data.
First checks
smbclient -L //<nas> -U <user>— sharessmbstatus— sessions (Samba)Get-SmbConnection— client view
Verify in this order
client → SMB3 → NAS share
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.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4130