Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1346668
Summary: | Change symlink for smb backend to /usr/libexec/samba/cups_backend_smb | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Woodhouse <dwmw2> |
Component: | cups | Assignee: | Zdenek Dohnal <zdohnal> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 24 | CC: | abokovoy, asn, gdeschner, jlayton, jpopelka, jrivera, lmohanty, madam, sbose, ssorce, twaugh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | cups-2.1.4-1.fc24 cups-2.1.3-2.fc23 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-18 18:28:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Woodhouse
2016-06-15 07:27:57 UTC
Hm, cups still has %triggerin -- samba-client ln -sf ../../../bin/smbspool %{cups_serverbin}/backend/smb || : exit 0 So.... we have /usr/libexec/samba/cups_backend_smb which is pointing to the right place via alternatives. But which isn't used. And the one which *does* get used is still pointing unconditionally to plain smbspool. In order to fix printing with Kerberos tickets using SMB (bug #1273999) I've introduced a new helper binary. The helper binary is called smb_krb5_wrapper and will make sure we switch to the user who issues the print job to get access to the Kerberos credentials cache. For this I packaged smb_krb5_wrapper in a new package called samba-krb5-printing. samba-client still packages smbspool, but it will use update-alternatives to create a symlink: /usr/bin/cups_backend_smb which will point to /usr/bin/smbspool. If the user installs samba-krb5-printing, the updates-alternatives binary will update /usr/bin/cups_backend_smb and point to the wrapper /usr/bin/smb_krb5_wrapper. This way all the cups package has to do is to create a symlink from /usr/lib/cups/backend/smb and point to /usr/bin/cups_backend_smb. samba-krb5-printing requires that samba-client is pre-installed. This way the control to /usr/bin/cups_backend_smb is kept on the Samba side and we will not require changes to cups in the future. I am currently testing fixed package in RHEL, if it works, I will push it into Fedora rawhide. cups-2.1.4-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-385435e4ca cups-2.1.4-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-385435e4ca cups-2.1.3-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d82d9ef6f9 cups-2.1.3-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d82d9ef6f9 cups-2.1.4-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. cups-2.1.3-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |