Just making a copy of a /etc/samba/smb.conf file that works for sharing a single directory within a private network. There is no security / privacy just a public share.
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[movies]
comment = Movies
path = /movies
guest ok = yes
browseable = yes
create mask = 0600
directory mask = 0700
read only = no
writable = yes
Simple File Share with Samba
Leave a Reply