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 example lpstat -a always prompts for credentials. In
xenial and cosmic this works without prompting through PeerCred. With
the attached config, even root is asked for credentials for 'lpstat -a'.
After applying both of the patches you found upstream (which were
combined in my earlier diff) this works without prompting as it should
and the AUTH_UID is passed correctly.

You can also see one of the symptoms of this problem in the original bug
report as AUTH_UID is not set in the original post. Even with the
Kerberos authentication failing, when using the socket cups should have
set the AUTH_UID properly.

** Attachment added: "cupsd.conf"
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1783298/+attachment/5242616/+files/cupsd.conf

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/cups/+bug/1783298/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to