# # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options most of which # are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentary and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command # "testparm" to check that you have not made any basic syntactic # errors. # #======================= Global Settings ======================= [global] log file = /var/log/samba/%m.log printer = CLP-300 load printers = yes passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . socket options = TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536 IPTOS_LOWDELAY obey pam restrictions = yes force directory mode = 0770 interfaces = 172.16.1.1/255.255.255.0, 127.0.0.1/255.0.0.0 domain master = No encrypt passwords = true passdb backend = tdbsam passwd program = /usr/bin/passwd %u use client driver = yes dns proxy = true netbios name = XANATO server string = %h Samba server printing = cups invalid users = root path = /var/spool/samba local master = Yes workgroup = FO-CSO force create mode = 0660 os level = 35 syslog = 0 create mode = 0660 security = user panic action = /usr/share/samba/panic-action %d max log size = 1000 bind interfaces only = true directory mode = 0770 [printers] create mask = 0770 comment = All Printers printable = yes valid users = daniel,sonia invalid users = # only user = yes [print$] guest ok = yes comment = Printer Drivers # writable = no browseable = yes read only = yes path = /var/lib/samba/printers write list = root, @lpadmin [storage] read list = sonia,@sonia writeable = yes path = /mnt/storage force group = users valid users = daniel,sonia,@daniel,@sonia browsable = yes user = daniel,sonia,@daniel,@sonia public = yes [daniel] writeable = yes path = /home/daniel write list = daniel,@daniel force group = users force user = daniel valid users = daniel,@daniel user = daniel,@daniel browsable = no [sonia] writeable = yes path = /home/sonia/shared write list = sonia,daniel,@sonia,@daniel force group = users force user = sonia valid users = sonia,daniel,@sonia,@daniel user = sonia,daniel,@sonia,@daniel browsable = no [incoming$] writeable = yes path = /mnt/incoming force group = users valid users = daniel,@daniel browsable = yes user = daniel,@daniel public = yes