[global] workgroup = MDKGROUP server string = Samba Server %v printcap name = cups printcap cache time = 60 printing = cups log file = /var/log/samba/%m.log max log size = 50 map to guest = bad user security = user encrypt passwords = yes dns proxy = no #============================ Share Definitions ============================== [homes] comment = Home Directories browseable = no read only = no [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = yes printable = yes create mask = 0700 print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. use client driver = yes [print$] path = /var/lib/samba/printers write list = @adm root guest ok = yes inherit permissions = yes [pdf-gen] path = /var/tmp printable = Yes comment = PDF Generator (only valid users) printing = bsd print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" & lpq command = /bin/true [PDF] path = /home/dvicoloc/pdf/ guest ok = yes read only = no