Package: smbclient
Version: 2:4.9.5+dfsg-5+deb10u1

Dear maintainers,

Samba in Debian stable does not allow printing through CUPS backend smbspool_krb5_wrapper. In my use case, this means that printing in an Active Directory environment is only possible by specifying password on each print task. The issue has been reported upstream:
https://bugzilla.samba.org/show_bug.cgi?id=13939

See attached file "error_log" which is a truncated /var/log/cups/error_log.

I confirm that it works properly after installing smbclient from testing (which upgrade many other packages).

Regards,
Yvan
D [14/Jan/2020:14:54:08 +0100] [Job 6] Applying default options...
I [14/Jan/2020:14:54:08 +0100] [Job 6] Adding start banner page "none".
I [14/Jan/2020:14:54:08 +0100] [Job 6] Adding end banner page "none".
I [14/Jan/2020:14:54:08 +0100] [Job 6] File of type application/pdf queued by 
"test".
D [14/Jan/2020:14:54:08 +0100] [Job 6] hold_until=0
I [14/Jan/2020:14:54:08 +0100] [Job 6] Queued on "testprinter" by "test".
D [14/Jan/2020:14:54:08 +0100] [Job 6] time-at-processing=1579010048
D [14/Jan/2020:14:54:08 +0100] [Job 6] 2 filters for job:
D [14/Jan/2020:14:54:08 +0100] [Job 6] pdftopdf (application/pdf to 
printer/testprinter/application/vnd.cups-pdf, cost 0)
D [14/Jan/2020:14:54:08 +0100] [Job 6] - 
(printer/testprinter/application/vnd.cups-pdf to printer/testprinter, cost 0)
D [14/Jan/2020:14:54:08 +0100] [Job 6] job-sheets=none,none
D [14/Jan/2020:14:54:08 +0100] [Job 6] argv[0]="testprinter"
D [14/Jan/2020:14:54:08 +0100] [Job 6] argv[1]="6"
D [14/Jan/2020:14:54:08 +0100] [Job 6] argv[2]="test"
D [14/Jan/2020:14:54:08 +0100] [Job 6] argv[3]="foo.html"
D [14/Jan/2020:14:54:08 +0100] [Job 6] argv[4]="1"
D [14/Jan/2020:14:54:08 +0100] [Job 6] argv[5]="edgetoedge=yes manualduplex=off 
overridea4withletter=yes manualfeed=off number-up=1 joboffset=on noCollate 
Duplex=None Resolution=600dpi PageSize=A4 lowsupplies=continue borderless=on 
ret=notset job-uuid=urn:uuid:79fd2d1b-8342-304b-5a96-68b33609499c 
job-originating-host-name=localhost date-time-at-creation= 
date-time-at-processing= time-at-creation=1579010048 
time-at-processing=1579010048"
D [14/Jan/2020:14:54:08 +0100] [Job 6] argv[6]="/var/spool/cups/d00006-001"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [14/Jan/2020:14:54:08 +0100] [Job 6] 
envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [14/Jan/2020:14:54:08 +0100] [Job 6] 
envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [14/Jan/2020:14:54:08 +0100] [Job 6] 
envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[7]="CUPS_STATEDIR=/run/cups"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[8]="HOME=/var/spool/cups/tmp"
D [14/Jan/2020:14:54:08 +0100] [Job 6] 
envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[10]="SERVER_ADMIN=root@lpa-desktop2"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[11]="SOFTWARE=CUPS/2.2.10"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[13]="USER=root"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[14]="CUPS_MAX_MESSAGE=2047"
D [14/Jan/2020:14:54:08 +0100] [Job 6] 
envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[17]="IPP_PORT=631"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[18]="CHARSET=utf-8"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[19]="LANG=fr_FR.UTF-8"
D [14/Jan/2020:14:54:08 +0100] [Job 6] 
envp[20]="PPD=/etc/cups/ppd/testprinter.ppd"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[21]="RIP_MAX_CACHE=128m"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[22]="CONTENT_TYPE=application/pdf"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[23]="DEVICE_URI=smb://files/PDF"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[24]="PRINTER_INFO=une description"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[25]="PRINTER_LOCATION=description 
de l\'emplacement"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[26]="PRINTER=testprinter"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[27]="PRINTER_STATE_REASONS=none"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[28]="CUPS_FILETYPE=document"
D [14/Jan/2020:14:54:08 +0100] [Job 6] 
envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-pdf"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[30]="AUTH_I****"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[31]="AUTH_U****"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[32]="AUTH_P****"
D [14/Jan/2020:14:54:08 +0100] [Job 6] envp[33]="AUTH_U****"
I [14/Jan/2020:14:54:08 +0100] [Job 6] Started filter 
/usr/lib/cups/filter/pdftopdf (PID 1836)
I [14/Jan/2020:14:54:08 +0100] [Job 6] Started backend 
/usr/lib/cups/backend/smb (PID 1837)
D [14/Jan/2020:14:54:08 +0100] [Job 6] SMBSPOOL_KRB5 - 
AUTH_INFO_REQUIRED=negotiate
D [14/Jan/2020:14:54:08 +0100] [Job 6] SMBSPOOL_KRB5 - Started with uid=0
D [14/Jan/2020:14:54:08 +0100] [Job 6] SMBSPOOL_KRB5 - Switching to gid=10513
D [14/Jan/2020:14:54:08 +0100] [Job 6] SMBSPOOL_KRB5 - Switching to uid=11104
D [14/Jan/2020:14:54:08 +0100] [Job 6] SMBSPOOL_KRB5 - Setting KRB5CCNAME to 
\'FILE:/tmp/krb5cc_11104\'
D [14/Jan/2020:14:54:08 +0100] [Job 6] pdftopdf: Last filter determined by the 
PPD: pdftopdf; FINAL_CONTENT_TYPE: application/vnd.cups-pdf => pdftopdf will 
log pages in page_log.
D [14/Jan/2020:14:54:08 +0100] [Job 6] PAGE: 1 1
D [14/Jan/2020:14:54:08 +0100] [Job 6] PID 1836 (/usr/lib/cups/filter/pdftopdf) 
exited with no errors.
E [14/Jan/2020:14:54:08 +0100] [Job 6] No valid device URI has been specified
D [14/Jan/2020:14:54:08 +0100] [Job 6] Set job-printer-state-message to "No 
valid device URI has been specified", current level=ERROR
D [14/Jan/2020:14:54:08 +0100] [Job 6] PID 1837 (/usr/lib/cups/backend/smb) 
stopped with status 1.
I [14/Jan/2020:14:54:08 +0100] [Job 6] Backend returned status 1 (failed)
D [14/Jan/2020:14:54:08 +0100] [Job 6] time-at-completed=1579010048
E [14/Jan/2020:14:54:08 +0100] [Job 6] Job aborted due to backend errors; 
please consult the /var/log/cups/error_log file for details.
D [14/Jan/2020:14:58:47 +0100] [Job 6] Unloading...

Reply via email to