You are not logged in.
Hi,
printing on a printer shared a windows network stopped working here. I now get the folllowing warning in cups web interface: "No valid Kerberos credential cache found!".
The printer is define including login and password in the smb URI of the printer and was not changed (smb://login:password@UPD1/IMPRESSORAS.CA/IMPRESSORAS_IFES)
Cups was not upgraded. I just found that samba and smbclient were recently upgraded and it has already given me similar problems but they never were related to kerberos:
[2019-08-09 15:34] [ALPM] upgraded smbclient (4.9.5-1 -> 4.10.6-1)
[2019-08-09 15:34] [ALPM] upgraded samba (4.9.5-1 -> 4.10.6-1)
I don't understand kerberos. Can anyone help me on that problem?
Last edited by manouchk (2019-10-03 13:22:20)
Offline
https://wiki.archlinux.org/index.php/Kerberos
Is UPD1 actually the local system, samba/linux or windows?
It would seem a kerberos authetication is required and fails.
If the other end is windows, try accessing it by IP - iirc windows will skip kerberos then.
Do you have access to/control over the system that shares the printer?
Offline
UPD1 is windows based. I don't have control over the system that shares the printer(s) but it used to work few days ago. Last time I had a printing problem it was due to a samba bug (https://bbs.archlinux.org/viewtopic.php?id=237952). Samba 4.8.1 had an issue.
I'd like to try through IP - iirc windows but I don't know want it means or how to do that.
Last edited by manouchk (2019-08-15 12:18:33)
Offline
a) try downgrading samba/sambaclient to see whether that's the cause
b) The IP is sth. like 192.168.0.123 and you pass that instead of the server ("UPD1") - oc. it has to be the actual IP
Offline
Could it perhaps be this issue: https://bbs.archlinux.org/viewtopic.php?id=245658 ( https://bugs.archlinux.org/task/62521 )?
Offline
If cups insists on altering the authentication to "negotiate" (which is kerberos) this seems more like a cups bug, possibly triggered by a change in samba…
=> cups.conf?
Offline
I just want to say, that I have the exact same problem as manouchk.
Offline
I just resolved the problem by downgrading samba. Thank you Seth for your recommendation.
I did run:
pacman -U /var/cache/pacman/pkg/smbclient-4.9.5-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/libwbclient-4.9.5-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/samba-4.9.5-1-x86_64.pkg.tar.xz
I already had downloaded thoose old package of samba. juphu2Va if you never did that, have look at this page: https://wiki.archlinux.org/index.php/Do … g_packages
I also included thoose package in the ignorepkg of file /etc/pacman.conf (IgnorePkg = smbclient libwbclient samba).
Last edited by manouchk (2019-10-03 13:26:27)
Offline
nb. that this constitutes an unsupported partial update - it would be advisable to focus on the actual issue, ie. have a look at the cups.conf and whether the AuthType is anywhere is "negotiate"
Try enforcing "username,password".
Offline
I'm now updating with update of libwbclient from 4.9.5-1 to 4.10.10-2 blacklisted. I don't know what to do and I don't understand the details of cups.conf. In /usr/share/dbus-1/system.d/cups.conf, I have:
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- Only root can send this message -->
<policy user="root">
<allow send_interface="com.redhat.PrinterSpooler"/>
</policy>
<!-- Allow any connection to receive the message -->
<policy context="default">
<allow receive_interface="com.redhat.PrinterSpooler"/>
</policy>
</busconfig>
The AuthType variable is defined in /etc/cups/printers.conf, as discussed in https://bbs.archlinux.org/viewtopic.php … 8#p1842838 ?
There, I really do have
AuthInfoRequired negotiate
and not
AuthInfoRequired username,password
The idea wpould be to update and try this new value of variable AuthInfoRequired and test if it works. If not downgrade again. That's what I understand.
Last edited by manouchk (2020-02-04 15:20:24)
Offline