April
2
Linux: Samba setup example
apt-get install samba swat #swat is a great tool for easy configuration.
Create user:
adduser smbuser
Create Samba Password
smbpasswd -a smbuser
Example configuration file:
/etc/smb.conf
[data] path = /mnt/yourfolder comment = Share Folder username = smbuser valid users = smbuser admin users = smbuser unix extensions = No read only = No create mask = 0777 directory mask = 0777
Restart smbd
service smbd restart
By: nighthawk