Hello, My name is Shane Drinkwater. I am having some problems with samba and printing. It seems that old print jobs will not leave the printer status screen on my 2000/xp clients. It looks to me that the tdb for the offending printer is not being purged when a print job completes. info Fedora Core 5 X86 Samba 3.0.24 smb.conf [global] #================== remote Annouce Settings =================================# remote announce = 172.27.1.7 # remote browse sync = 172.27.1.7 #=============== Local Master Settings========================== domain master = no local master = no preferred master = no # os level = 10 #============================================================== log file = /var/log/samba/%m.log load printers = yes socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 wins server = 172.27.1.17 encrypt passwords = yes dns proxy = no netbios name = athena server string = Samba Server # unix password sync = Yes workgroup = CSQ security = domain max log size = 0 pam password change = yes large readwrite = yes veto files = /*.eml/*.nws/riched20.dll/ #======================Printer Stuff =================================== printing = cups printcap = cups #=======================Winbindd Stuff ================================= password server = * winbind uid = 10000-20000 winbind gid = 10000-20000 winbind separator = + template shell = /bin/bash template homedir = /home/%D/%U winbind cache time = 60 winbind enum users = yes winbind enum groups = yes winbind use default domain = yes [print$] path = /home/samba/printdrivers guest ok = yes guest only = yes browseable = yes read only = yes write list = @CSQ+"Programmers",@CSQ+"Domain Admins",@CSQ+"Domain Users",@CSQ+"PA Doctors" [printers] comment = All Printers path = /var/spool/samba browseable = yes guest ok = yes writable = yes printable = yes public = yes ls of /usr/local/samba/var/locks/printing 1 drwxr-xr-x 2 root root 512 Apr 9 14:52 . 1 drwxr-xr-x 5 root root 832 May 11 10:41 .. 96 -rw------- 1 root root 98304 May 2 2006 csqlis.tdb 40 -rw------- 1 root root 40960 May 9 2006 drslagelhp.tdb 24 -rw------- 1 root root 24576 Apr 28 2006 joyceinkjet.tdb 24 -rw------- 1 root root 24576 Apr 28 2006 mayolexmark.tdb 40 -rw------- 1 root root 40960 May 4 11:36 mercybb.tdb 24 -rw------- 1 root root 24576 Apr 28 2006 mercybloodbank.tdb 3203 -rw------- 1 root root 3276800 May 10 12:14 mercylab.tdb 72 -rw------- 1 root root 73728 Jul 5 2006 MercyPA.tdb 24 -rw------- 1 root root 24576 Apr 28 2006 mercyreq.tdb 24 -rw------- 1 root root 24576 Apr 9 14:52 m_req.tdb 136 -rw------- 1 root root 139264 Feb 28 15:52 pabill.tdb 152 -rw------- 1 root root 155648 May 11 2006 pathallinone.tdb 24 -rw------- 1 root root 24576 Apr 28 2006 printers.tdb 24 -rw------- 1 root root 24576 Feb 1 16:33 ventanacolorlaser.tdb As you can guess the mercylab printer is the one I am having problems with. Other printers on the system seem not to be effected. Any Ideas besides delete and recreate???? Shane NOTICE: This email may contain legally privileged information. The information is for the use of only the intended recipient(s) even if addressed incorrectly. If you are not the intended recipient, please notify the sender that you have received it in error and then delete it along with any attachments. Thank you.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shane Drinkwater wrote:> Hello, > My name is Shane Drinkwater. I am having some problems with samba and > printing. It seems that old print jobs will not leave the printer status > screen on my 2000/xp clients. It looks to me that the tdb for the offending > printer is not being purged when a print job completes.I cannot reproduce this although a few people report it from time to time. What does lpq show for the printer? cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGRJ3aIR7qMdg1EfYRAq59AJ9q+zCaLPaAE+G9ACm1psyC8sCBvACePSmL qM4eopxtC44/BvP78U3B5xY=3szF -----END PGP SIGNATURE-----
Jerry, Thank you for your prompt re. lpq has the following output [root@athena printing]# lpq -P mercylab mercylab is ready no entries [root@athena printing] Shane -----Original Message----- From: Gerald (Jerry) Carter [mailto:jerry@samba.org] Sent: Friday, May 11, 2007 11:46 AM To: Shane Drinkwater Cc: 'samba@lists.samba.org' Subject: Re: [Samba] old print jobs go away!! -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shane Drinkwater wrote:> Hello, > My name is Shane Drinkwater. I am having some problems with samba and > printing. It seems that old print jobs will not leave the printer status > screen on my 2000/xp clients. It looks to me that the tdb for theoffending> printer is not being purged when a print job completes.I cannot reproduce this although a few people report it from time to time. What does lpq show for the printer? cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGRJ3aIR7qMdg1EfYRAq59AJ9q+zCaLPaAE+G9ACm1psyC8sCBvACePSmL qM4eopxtC44/BvP78U3B5xY=3szF -----END PGP SIGNATURE----- NOTICE: This email may contain legally privileged information. The information is for the use of only the intended recipient(s) even if addressed incorrectly. If you are not the intended recipient, please notify the sender that you have received it in error and then delete it along with any attachments. Thank you.