[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2019-03-01 Thread Esko Järnfors
If this is not fixed, the attached config also breaks any cups package updates as the package scripts get the authentication prompt and hang. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1783298 Titl

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2019-03-01 Thread Esko Järnfors
Actually it looks this is probably a bit different than the original issue in this bug, sorry about that. However, I have attached our cupsd.conf and any printers we are using have "OpPolicy authenticated". With this config (the difference to stock Ubuntu config is AuthType Default for /), for exam

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2019-03-01 Thread Sebastien Bacher
@Esko, could you describe the setup enough so the description can be used for a SRU (https://wiki.ubuntu.com/StableReleaseUpdates)? Looking to the upstream commits and your diff, it looks like that one might be the one fixing your issue https://github.com/apple/cups/commit/1f679daf and the third

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2019-03-01 Thread Esko Järnfors
We had very similar symptoms (the user always gets a username/password prompt when trying to print) but it seems for us PeerCred was not working properly. I tried compiling the source tree from cosmic and it worked correctly. I then took a diff between that and the bionic package and the cups/auth.

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2019-02-28 Thread Sebastien Bacher
Upstream referenced to a commit that could fix the issue https://github.com/apple/cups/commit/ef2f369c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1783298 Title: AuthInfoRequired negotiate in cups

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2019-02-28 Thread Bug Watch Updater
** Changed in: cups Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1783298 Title: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work To manage no

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2019-02-28 Thread Till Kamppeter
Reported upstream as https://github.com/apple/cups/issues/5536. ** Bug watch added: github.com/apple/cups/issues #5536 https://github.com/apple/cups/issues/5536 ** Also affects: cups via https://github.com/apple/cups/issues/5536 Importance: Unknown Status: Unknown -- You receive

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2019-02-28 Thread Sebastien Bacher
Ideally that would be reported upstream, Till maybe you can help with that? ** Changed in: cups (Ubuntu) Assignee: (unassigned) => Till Kamppeter (till-kamppeter) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launc

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2019-02-28 Thread Launo Tuuri
To get kerberos authentication fixed again in CUPS would be extremely good! I guess downgrading to SMB1 is not even an option in many bigger and/or more open environments -- typically managed by someone else with security oriented attitude. -- You received this bug notification because you ar

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2018-11-07 Thread josephpei
I found the solution: https://www.dedoimedo.com/computers/ubuntu-beaver-samba-shares.html Quote: The reason is, they changed the default protocol version and whatnot, and actually, who cares. People just want to be able to share things with their Windows boxes easily! Edit /etc/samba/smb.conf

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2018-09-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cups (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1783298 Title: AuthI

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2018-08-13 Thread Ian Gordon
Unfortunately my possible workaround in comments 3 & 4 only partially work - cups stops prompting for a password but its smb backend (/usr/lib/x86_64-linux-gnu/samba/smbspool_krb5_wrapper) does not receive the AUTH_UID is not set and therefore cannot spool the job the a Windows print server. I'm a

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2018-08-01 Thread Ubuntu Foundations Team Bug Bot
The attachment "proposed_solution.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~bria

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2018-08-01 Thread Ian Gordon
Here is my proposed solution (attached) to the problem - I do not claim to fully understand cups' authentication system but it seems to me from looking at the old code to cups/auth.c and the new broken code that this patch would make the unix domain socket authentication work the same as it did bef

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2018-08-01 Thread Ian Gordon
My suggested work around above does not fix the issue (completely) because systemd is in charge of the socket - so as well as commenting out "Listen /run/cups/cups.sock" in /etc/cups/cupsd.conf you have to also do the following: systemctl stop cups.service systemctl stop cups.socket rm /run/cups/c

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2018-07-29 Thread Ian Gordon
It appears that it first stops working in cups version 2.2.7 when there is a major change in cups/auth.c. It is still broken in the current cups github repo master branch. I have noticed it works correctly if you disable the unix domain socket, e.g. comment out Listen /run/cups/cups.sock in /et

[Bug 1783298] Re: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work

2018-07-29 Thread Ian Gordon
The above setup work fine in Ubuntu 17.10 as well which uses cups 2.2.4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1783298 Title: AuthInfoRequired negotiate in cups 2.2.7 in Bionic does not work