eg. to share /home/public folder to allow public access
Sample configuration ...
[global]
workgroup = WORKGROUP
server string = my server
log file = /var/log/samba/log.%m
max log size = 200
security = share
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# Cause this host to announce itself to local subnets here
remote announce =
# Browser Control Options:
# set local master to no if you don't want Samba to become a master # browser on your network.
# Otherwise the normal election rules apply
; local master = yes
name resolve order = host wins lmhosts bcast
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
wins server =
[public]
path = /home/public
public = yes
only guest = yes
writable = yes