The Samba-Bugzilla – Bug 12575
samba_krb5_wrapper does not list devices when called with no arguments
Last modified: 2017-02-24 08:27:52 UTC
Description of problem:
The new samba_krb5_wrapper that allows CUPS to use Kerberos to
authenticate with printers doesn't list SMB devices when called with
no arguments. As a result, the SMB protocol isn't listed as a
possible printer connection mechanism.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
run "lpinfo -v"
# lpinfo -v
DEBUG: SMBSPOOL_KRB5 - Started with uid=0
DEBUG: SMBSPOOL_KRB5 - AUTH_INFO_REQUIRED is not set
# lpinfo -v
(Last entry "network smb" should be included)
network smb "Unknown" "Windows Printer via SAMBA"
When the "lpinfo -v" command is used, cupsd calls
/usr/lib/cups/daemon/cups-deviced to execute all the backends in
/usr/lib/cups/backend with no arguments. When a backend is called
with no arguments, it should list all the devices that are accessible
via that backend.
This mechanism is also used by the Web UI and system-config-printer to
enumerate possible print devices. If samba_krb5_wrapper doesn't
provide the proper out put, SMB will not be listed as an option in the
GUI when installing new printers.
Created attachment 12958 [details]
patch for 4.6
Re-assigning to Karolin for inclusion in 4.6.next.
(In reply to Jeremy Allison from comment #2)
Pushed to v4-6-test.
Closing out bug report.