[global] log file = /var/log/samba/log.%m load printers = yes guest account = nobody printer = HPDeskJet socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 deny hosts = 0.0.0.0/0 interfaces = lo eth0 public = yes allow hosts = 127.0.0.1 192.168.1.0/24 server string = Samba Server %v printcap name = cups load printers = yes printing = cups path = /var/spool/samba workgroup = WORKGROUP printcap name = cups security = user bind interfaces only = yes max log size = 50 [print$] comment = Printer Drivers path = /etc/samba/printer # that path holds the driver structure guest ok = yes browseable = yes read only = yes # Modify this to "username,root" if you don't want root to be the only # printer admin write list = root # Now we'll setup a printer to share, while the name is arbitrary # it should be consistent through Samba and CUPS! [HPDeskJet] comment = Printer On Knowles PC printable = yes path = /var/spool/samba public = yes guest ok = yes printer admin = root # Now we setup our printers share. This should be # browseable, printable, public. [printers] comment = All Printers browseable = no printable = yes writable = no public = yes guest ok = yes path = /var/spool/samba # Modify this to "username,root" if you don't want root to # be the only printer admin) printer admin = root # We create a new share that we can read/write to from anywhere # This is kind of like a public temp share, anyone can do what # they want here. [public] comment = Public Files browseable = yes public = yes create mode = 0766 guest ok = yes path = /home/samba/public