User Tools

Site Tools


servers:samba

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:samba [2021/10/29 21:32] Sean Rhoneservers:samba [2024/08/13 16:29] (current) – removed Sean Rhone
Line 1: Line 1:
-====== Information ====== 
- 
-  * Samba ((https://www.samba.org/)) 
- 
-===== Prerequisites ===== 
- 
-  * [[distros:ubuntu_desktop#server|Ubuntu]] 
-  * [[servers:vsftpd|vsftpd]] ((''vsftpd'' isn't specifically required, but these notes expect the shared folder mentioned to already be mounted in ''fstab'')) 
- 
-===== Notes ===== 
- 
-  * :!: SMB **cannot** be used to serve media to Kodi clients with this config as it breaks filenames with special characters ((such as the colon in "Title: The Movie")), 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' 
- 
-<code> 
-[Music] 
-    comment = Music at %h 
-    path = /srv/ftp/nas2/Music 
-    browsable = yes 
-    guest ok = yes 
-    read only = yes 
-</code> 
- 
-====== Add User ====== 
- 
-  * :!: The password can be anything here, but recommended **not to be an important password** 
- 
-  sudo smbpasswd -a 'espionage724' 
  
/srv/www/wiki/data/attic/servers/samba.1635557523.txt.gz · Last modified: (external edit)