[Samba] Status file visible in client print queue

Daniel Frencham d.frencham at qut.edu.au
Mon Apr 15 17:27:01 GMT 2002


My samba test box (2.2.1a) has all it's print queues in the 
/var/spool/lpd/distributed/[printer-name] directory. Each of these 
directories has a couple of files: status; and lock. When viewing the print 
queue from a client machine the lock file is not shown, but the status file 
is. The status file contains a time stamp of the last print job.

On an older version of samba this file is not displayed. Does anyone know 
how to prevent this file being displayed on the client machines?

Here is my smb.conf:


   workgroup = dis_css
   server string = Samba Test Server
   hosts allow = 131.181.124.
   printcap name = /etc/printcap
   load printers = no
   printing = bsd
   path = /var/spool/lpd/distributed
   guest account = pcprint
   log file = /usr/local/samba/var/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   smb passwd file = /etc/smbpasswd
; socket options = TCP_NODELAY
   interfaces =
   local master = no
   os level = 0
   domain master = no
   preferred master = no
   wins support = no
   wins server =
   dns proxy = yes
   use client driver = yes
   include = /usr/local/samba/lib/smb_printers_import.
; include = /usr/local/samba/lib/shares.smb.conf

   path = /tmp
   public = yes
   only guest = no
   writable = yes
   printable = no


Daniel Frencham
Systems Administrator Trainee
Central Systems Services, ITS, QUT
d.frencham at qut.edu.au

More information about the samba mailing list