# # a simple example smb.conf example # # this is a very basic samba setup. # the machine is a client on the network # and presents its root as a single share # to the local network (only). # # (or @ corz.org ;o) [global] netbios name = oshi # note workgroup name MUST be identical on all puters on the LAN # Windoze machines, by default, have it set to "WORKGROUP" workgroup = myhome.ath.cx server string = the funky laptop domain master = no local master = no hide dot files = no log file = /var/log/samba/log.%m # log level = 1 max log size = 512 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 security = user #passdb backend = tdbsam unix extensions = yes [root] path = / comment = share the root! # same as "writable = yes".. read only = no valid users = foobar admin users = cor # basic IP-based security. only allow access from the LAN.. hosts deny = 0.0.0.0/0 hosts allow = 192.168.1. # we don't want to get caught looping in here.. dont descend = /proc,/dev