[Samba] wrong data in var/cache/samba/printing/ ?

Pavel Vávra pvavra at mibcon.cz
Tue Feb 7 16:02:08 GMT 2006


Hi,
  I run samba 3.14a (from Debian stable) and I have weird problem with samba printer cache. Windows users reports that printer queue is too big and it contains files already printed long time ago. Printer is connected via LAN to print server. Queue in /var/spool/lpd/<printer> is empty, but file /var/cache/samba/printing/<printer>.tdb is about 300 kB big. I try to use tdbtool to clear this cache file, but it report that this cache contains just 4 records ... and I cannot find a way how to display these records a bit friendly. I think that this file is key of users problem, because a half year ago I've stopped services, deleted this file and run services again and all has been OK. Could anybody explain me why are printed articles queued here and how to delete e.g. jobs older than 1 week from printer queue?
Thank you
  Pavel


More information about the samba mailing list