Hi, madly looking for an answer to this but haven't found it in the smb.conf man pages yet... I'm using samba for my print server. I use printing = cups with samba. Currently it looks like all print jobs are being retained in /var/spool/samba and it has just filled my var fs :-( and no one can print. I can't seem to find any parameters associated with pruning the jobs, or how long they should be retained if at all?? Am I looking for the wrong keywords retain /var/spool/samba? Sorry, I've got users yelling at me cos they can't print and it makes searching very difficult, can anyone help me out here urgently? Thanks Bill
I can't really help with cups specifically, but, you may need to have a command in your smb.conf to remove print jobs from the samba queue. For example, here is a typical print command with lprng: print command = /usr/bin/lpr -Plp -J'%J' %s; rm %s If you can't do this, you could run a cron job which cleans up the the spool directory from time to time. Joel On Wed, Apr 02, 2003 at 11:47:54AM +0100, Bill Dossett wrote:> Hi, > > madly looking for an answer to this but haven't > found it in the smb.conf man pages yet... > > I'm using samba for my print server. I use > printing = cups with samba. > > Currently it looks like all print jobs > are being retained in /var/spool/samba and > it has just filled my var fs :-( and no > one can print. I can't seem to find > any parameters associated with pruning > the jobs, or how long they should be retained > if at all?? Am I looking for the wrong keywords > retain /var/spool/samba? Sorry, I've got users > yelling at me cos they can't print and it makes > searching very difficult, can anyone help me > out here urgently? > > Thanks > > Bill > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Bill Dossett bd at emtex.com wrote on Samba-Digest:> Wed Apr 2 11:47:54 GMT 2003 > > > Hi, > > madly looking for an answer to this but haven't > found it in the smb.conf man pages yet... > > I'm using samba for my print server. I use > printing = cups with samba. > > Currently it looks like all print jobs > are being retained in /var/spool/samba and > it has just filled my var fs :-( and no > one can print. I can't seem to find > any parameters associated with pruning > the jobs, or how long they should be retained > if at all?? Am I looking for the wrong keywords > retain /var/spool/samba? Sorry, I've got users > yelling at me cos they can't print and it makes > searching very difficult, can anyone help me > out here urgently?Can you please post the output of these two commands: grep -v "^$" /etc/cups/cupsd.conf | grep -v "^#" grep -v "^$" /etc/samba/smb.conf | grep -v "^#" | grep -v "^;" Check your settings for "MaxJobs", "MaxJobsPerPrinter", "MaxJobsPerUser", "PreserveJobHistory", "PreserveJobFiles" and "AutoPurge" in cupsd.conf. Is Samba linked against libcups? Check for it: "ldd `which smbd` | grep libcups" If it is, and if you have "printing = cups", then no manually set "print command" will be honored by Samba (see "man smb.conf") [If you insist to use manually set print commands all over, use "printing = sysv" in smb.conf...] Also, it would help everybody trying to help you getting a clearer picture quickly, if you statet which OS you use and which versions of Samba and CUPS....> Thanks > > BillCheers, Kurt
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 2 Apr 2003, Bill Dossett wrote:> Currently it looks like all print jobs are being retained in > /var/spool/samba and it has just filled my var fs :-( and no one can > print. I can't seem to find any parameters associated with pruning the > jobs, or how long they should be retained if at all??sounds like and old bug fixed around 2.2.6 IIRC. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+iyXoIR7qMdg1EfYRAj4NAKDffYWeMzrcP5/yorA6tHv6K4F1WgCgiwP0 Y+anTWnNraur0RfuFgihFYQ=o1lw -----END PGP SIGNATURE-----