Hi all
I just upgraded from F29 to F30. All looks fine except printing from the system. The printer is configured in /etc/cups/printers.conf (see details below). I noticed that in a previous file the "Shared" was set to Yes, but all the other lines are exactly the same.
if I try to pront from the system the job is held in the queue telling me that there is a problem with authentication (but the authentication is included in the prints.conf file). If I look in the printer set=up menu which can be started from the "gnome-to-panel" it tells me that the job needs autentication and it asks met to enter credentials, but I cannot input them from this menu: Where should I enter them?
If I try to reconfigure the printer via cups and indicate that the printer is to be shared, I get the message that sharing is not possible for a Kerberos-printer. On this system I never configured Kerberos. So what is happening here?
Please help me getting printing working on this machine as it worked before the upgrade to F30.
Regards Jouk
excerpt form /etc/cups/printers.conf:
<Printer Xerox-openvpn> UUID urn:uuid:8ee24042-e404-351f-434a-aa18ab969e10 AuthInfoRequired negotiate Info Xerox-openvpn Location Alanalul MakeModel Xerox AltaLink C8035 DeviceURI smb://DASTUD\username:password@printserver.tudelft.net/FollowMe State Idle StateTime 1556698864 ConfigTime 1540381212 Type 8433916 Accepting Yes Shared No JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer Option sides two-sided-long-edge </Printer>
Pax, vel iniusta, utilior est quam iustissimum bellum. (free after Marcus Tullius Cicero (106 b.Chr.-46 b.Chr.) Epistularum ad Atticum 7.1.4.3)
Touch not the cat bot a glove
------------------------------------------------------------------------------<
Jouk Jansen joukj@hrem.nano.tudelft.nl
Technische Universiteit Delft tttttttttt uu uu ddddddd Kavli Institute of Nanoscience tttttttttt uu uu dd dd Nationaal centrum voor HREM tt uu uu dd dd Lorentzweg 1 tt uu uu dd dd 2628 CJ Delft tt uu uu dd dd Nederland tt uu uu dd dd tel. 31-15-2782272 tt uuuuuuu ddddddd
------------------------------------------------------------------------------<
On Wed, 2019-05-01 at 11:48 +0200, Jouk Jansen wrote:
If I try to reconfigure the printer via cups and indicate that the printer is to be shared, I get the message that sharing is not possible for a Kerberos-printer. On this system I never configured Kerberos. So what is happening here?
I've got an identical problem. I've filed a bug report here: https://bugzilla.redhat.com/show_bug.cgi?id=1700791
I think it was caused by: https://bugzilla.redhat.com/show_bug.cgi?id=1662408
I don't think it's triggered by "Shared"; but rather by "AuthInfoRequired" that changes from None or Username,Password to Negotiate.
To work around it, here's what I did: - move /usr/lib/cups/backend/smb to /usr/lib/cups/backend/smb.real - write a script /usr/lib/cups/backend/smb to replace it:
#!/bin/sh cat - | /usr/lib/cups/backend/smb.real "${@}"
Remember to make it executable. You'll notice this just calls smb.real. The actual change is that this script exits with 0, so Cups never sees an error. Suddenly it doesn't trigger AuthInfoRequired, and actually prints.
NOTE: this will be overwritten every time cups is upgraded. The workaround can be smarter if you change DeviceURI to something else (say smbworks://) and create a script accordingly.
I do this at work for a printer that has every non-SMB port firewalled.