1. Goal
Publish a directory to Windows and Linux clients with a clear minimal configuration.
2. Files and components involved
/etc/samba/smb.conf
/etc/rc.d/rc.samba
/srv/samba/condivisa
3. Operational flow
mkdir -p /srv/samba/condivisa
smbpasswd -a user
vi /etc/samba/smb.conf
/etc/rc.d/rc.samba start
4. Operational verification
testparm -s
smbclient -L localhost -U user
ss -lntup
grep smb
5. Practical notes
After every restart, check listening sockets, logs, permissions, and the users accessing the service.
Before exposing the service in production, test access from a validation host and check any ACLs or firewall rules.
Quick checklist
[ ] Backup or copy of the existing configuration completed
[ ] Files and commands updated as expected
[ ] Local test completed successfully
[ ] Logs or final output verified
[ ] Rollback procedure documented