When the smbd server daemon executed spooling for a print action, it previously did not include the job ID in the generated spool-file path. As a consequence, the spool check could not validate the spool-file's existence, and the printing thus failed. With this update, smbd includes jobid in the spool-file path and parsing the file name succeeds. As a result, printing via Samba now works as expected.
Description of problem: Print data received from a PC via SAMBA as \\server\printershare fails to be submitted to CUPS and subsequently fails to print.
Version-Release number of selected component (if applicable): samba3x-3.6.6-0.129.el5
How reproducible: Every time.
Steps to Reproduce:
1. Install samba3x-3.6.6-0.129.el5 packages
2. Share a printer queue to PCs via SAMBA
3. Print to it from a PC
Actual results: Nothing prints, errors in SAMBA logs
/var/log/samba/{computer name}.log:
{computer name}.log:[2013/01/18 15:29:32.934415, 0] printing/print_cups.c:940(cups_job_submit)
{computer name}.log: cups_job_submit: failed to parse jobid from name /var/spool/samba/smbprn..VkNm54
Expected results: Ink on paper :)
Additional info: This is a SAMBA bug and they corrected it over a year ago https://bugzilla.samba.org/show_bug.cgi?id=8719
Comment 2RHEL Program Management
2014-01-22 16:26:58 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release. Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products. This request is not yet committed for inclusion in
a release.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2014-1212.html
Description of problem: Print data received from a PC via SAMBA as \\server\printershare fails to be submitted to CUPS and subsequently fails to print. Version-Release number of selected component (if applicable): samba3x-3.6.6-0.129.el5 How reproducible: Every time. Steps to Reproduce: 1. Install samba3x-3.6.6-0.129.el5 packages 2. Share a printer queue to PCs via SAMBA 3. Print to it from a PC Actual results: Nothing prints, errors in SAMBA logs /var/log/samba/{computer name}.log: {computer name}.log:[2013/01/18 15:29:32.934415, 0] printing/print_cups.c:940(cups_job_submit) {computer name}.log: cups_job_submit: failed to parse jobid from name /var/spool/samba/smbprn..VkNm54 Expected results: Ink on paper :) Additional info: This is a SAMBA bug and they corrected it over a year ago https://bugzilla.samba.org/show_bug.cgi?id=8719