s3-printing: fix bug 9123 lprng job tracking errors
commit4050cc8be25299514f7ebe609419f74aff8da423
authorDavid Disseldorp <ddiss@samba.org>
Tue, 28 Aug 2012 16:58:24 +0000 (28 18:58 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 30 Aug 2012 06:26:35 +0000 (30 08:26 +0200)
treefcf6a8edf1e437a25935b2e351301ec452419f5a
parent0f1496516d4f4c3da0fb875e944b48861ef2330b
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.
source3/printing/print_generic.c
source3/printing/printing.c