From fb15e5a58f79801b0a74a8ddf555411c0fd44acb Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Tue, 28 Aug 2012 18:58:24 +0200 Subject: s3-printing: fix bug 9123 lprng job tracking errors The lprng printing back-end is truncating the print job filename in the lpq output, which means that Samba is not able to determine the back-end job ID for a newly submitted print job. Remove the unneeded spoolss job ID from the print job file name to ensure the job filename is not truncated. Also log these warnings at a higher log level. Autobuild-User(master): David Disseldorp Autobuild-Date(master): Wed Aug 29 14:25:13 CEST 2012 on sn-devel-104 --- source3/printing/print_generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/printing/print_generic.c') diff --git a/source3/printing/print_generic.c b/source3/printing/print_generic.c index efe910d7b4..1560a035a1 100644 --- a/source3/printing/print_generic.c +++ b/source3/printing/print_generic.c @@ -288,7 +288,7 @@ static int generic_job_submit(int snum, struct printjob *pjob, ret = 0; } if (pjob->sysjob == -1) { - DEBUG(0, ("failed to get sysjob for job %u (%s), tracking as " + DEBUG(2, ("failed to get sysjob for job %u (%s), tracking as " "Unix job\n", pjob->jobid, jobname)); } -- cgit