[global] workgroup = QCL server string = Samba Server %v printcap name = cups printing = cups load printers = yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = lo eth0 bind interfaces only = yes hosts allow = 127.0.0.1 80.222.234.183/24 hosts deny = 0.0.0.0/0 security = share guest account = guest guest ok = yes vfs object = vscan-clamav vscan-clamav: config-file = /etc/samba/vscan-clamav.conf [print$] comment = Printer Drivers path = /etc/samba/printer guest ok = yes browseable = yes read only = yes write list = root [HPLJ4] comment = HP DeskJet 930C Network Printer printable = yes path = /var/spool/samba public = yes guest ok = yes printer admin = root [printers] comment = All Printers browseable = yes printable = yes writable = no public = yes guest ok = yes path = /var/spool/samba printer admin = root [public] comment = Public Files browseable = yes public = yes create mode = 0766 guest ok = yes path = /home/samba/public