servers:linux:samba
Table of Contents
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 4), this can be worked-around, but there's no known benefits over FTP
Dependencies
sudo dnf install 'samba'
Firewall
sudo firewall-cmd --add-service='samba' --permanent && sudo firewall-cmd --reload
Service
sudo systemctl enable 'smb' --now
Settings
- Add to the bottom of the file
sudo -e '/etc/samba/smb.conf' && sudo systemctl restart 'smb'
[Music] comment = Music at %h path = /var/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'
Moode Audio
- Type:
SMB
- Path:
192.168.1.152/Music
- User ID:
espionage724
Mount Flags
ro,dir_mode=0777,file_mode=0777,vers=3.0
/var/www/wiki/data/pages/servers/linux/samba.txt · Last modified: by 127.0.0.1