Installation
aptitude install samba
Configuration
Changes in default smb.conf:
- [global]
- interfaces = 127.0.0.0/8 192.168.33.32/27
- bind interfaces only = yes
- [homes]
- read only = no
- create mask = 0600
- remove [printers] & [print$] sections (printers will be handled via cups)
Add own sections as needed:
[section_name] comment = Section description path = /what/to/share read only = Yes/No
Example for public read only share for e.g. to be used by OpenELEC:
[public_read_only] comment = Section description path = /what/to/share read only = Yes guest ok = Yes
User management
smbpasswd -a username # will ask for SMB password smbpasswd -e username # enables this user