[global] workgroup = 2131@ netbios name = anaconda server string = wonder's computer 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 eth1 interfaces = lo eth0 bind interfaces only = yes hosts allow = 127.0.0.1 192.168.0.0/24 172.16.71.0/24 hosts deny = 0.0.0.0/0 security = user local master = no [print$] comment = Printer Drivers path = /etc/samba/printer 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 = wonder [psc_1200] comment = HP PSC 1215 Network Printer printable = yes path = /var/spool/samba public = yes guest ok = yes # Modify this to "username,root" if you don't want root to # be the only printer admin) printer admin = wonder # Modify this to "username,root" if you don't want root to # be the only printer admin) [Virtual_Printer] comment = PDF printable = yes path = /var/spool/samba public = yes guest ok = yes printer admin = wonder [printers] # here all printers will be shown; this becomes the Printers # share/section under Network Neighborhood comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yes writable = no printable = yes printer admin = wonder use client driver = Yes [storage2] comment = Public Files browseable = yes public = yes create mode = 0755 writable = yes guest ok = yes path = /home/wonder [storage1] comment = Public Files browseable = yes public = yes writable = yes create mode = 0755 guest ok = yes path = /mnt/storage