[global] workgroup = chubork server string = Samba Server %v log file = /var/log/samba/samba.log interfaces = lo eth0 bind interfaces only = yes hosts allow = 127.0.0.1 192.168.0.0/16 hosts deny = 0.0.0.0/0 security = share local master = no [public] comment = Public Area #browseable = yes writable = yes path = /home/samba/public valid users = samba_r [private_r] comment = Private Area Read-Only read only = yes path = /home/samba/private valid users = samba_r [private_rw] comment = Private Area Read-Write writable = yes path = /home/samba/private valid users = samba_rw