User Tools

Site Tools


servers:samba

This is an old revision of the document!


Information

  • Samba 1)

Prerequisites

Notes

  • :!: SMB cannot be used to serve media to Kodi clients with this config as it breaks filenames with special characters 3), this can be worked-around, but there's no known benefits over FTP

Dependencies

sudo apt install 'samba'

Firewall

sudo ufw allow 'Samba'

Service

sudo systemctl enable 'smbd' --now

Settings

  • Add to the bottom of the file
sudo -e '/etc/samba/smb.conf' && sudo systemctl restart 'smbd'
[Music]
    comment = Music at %h
    path = /srv/ftp/nas2/Music
    browsable = yes
    guest ok = yes
    read only = yes

Add User

  • :!: The password can be anything here, but recommended not to be an important password
sudo smbpasswd -a 'espionage724'
2)
vsftpd isn't specifically required, but these notes expect the shared folder mentioned to already be mounted in fstab
3)
such as the colon in “Title: The Movie”
/var/www/wiki/data/attic/servers/samba.1635557523.txt.gz · Last modified: 2021/10/29 21:32 by Sean Rhone