No subject


Tue Dec 2 04:10:01 GMT 2003


Does anybody know a better idea?

smb.conf:
[global]
...
   load printers = yes
   lpq cache time = 30
   print command = lpr -r -P%p %s
   printcap name = /etc/printcap
   printing = bsd
...
[printers]
   comment = Alle Drucker
   browseable = no
   printable = yes
   public = yes
   path = /var/spool/samba/%d
   create mode = 0700
   lpq command = lpq -P%p
   root preexec = mkdir -p /var/spool/samba/%d; chmod 700
/var/spool/samba/%d; chown %u: /var/spool/samba/%d
   root postexec = rm -rf /var/spool/samba/%d

Everything we tried with a global pre-/postexec or workaround with print
command failed ...   :-(

TIA, Tobias Gerndt




More information about the samba-technical mailing list