||<
><>|| = Work in progress = This tutorial is a work in progress. Expect it to contain errors. = Relevant samba.conf entries = The /etc/samba.conf file has a huge array of configuration options. The following are suggested for small office setups. {{{ [global] workgroup = OFFICE.LAN server string = Samba Server Version %v # Add the IPs / subnets allowed acces to the server in general. # The following allows local and 192.168.*.* access hosts allow = 127. 192.168. # log files split per-machine: log file = /var/log/samba/log.%m # enable the following line to debug: # log level =3 # maximum size of 50KB per log file, then rotate: max log size = 50 # Security options security = ads encrypt passwords = yes passdb backend = tdbsam realm = OFFICE.LAN # Printers - note that we will change this when we install CUPS for the domain load printers = no cups options = raw [print$] comment = Printer Drivers Share path = /var/lib/samba/drivers write list = @"admins@office.lan" printer admin = @"admins@office.lan" # This stops an annoying message from appearing in logs printcap name = /dev/null # Setting up shares [Documents] comment = Shared documents drive path = /shared/Documents public = no writable = yes guest ok = no valid users = @"users@office.lan" [Media] comment = Shared media drive path = /shared/Media public = no writable = yes guest ok = no valid users = @"users@office.lan" }}}