View previous topic :: View next topic |
Author |
Message |
cfgauss l33t
Joined: 18 May 2005 Posts: 688 Location: USA
|
Posted: Mon May 07, 2018 1:19 am Post subject: [SOLVED] cups-2.2.7 generates authentication error |
|
|
As a consequence of a recent emerge world, CUPS (localhost:631) produces an Unauthorized error message when I, for example, try to Set Default Options. In the past, a graphic window would pop up in which I could provide root authentication. I am still a member of the lp and lpadmin groups. My work-around is to boot a browser as root.
I suspect there is a permission error somewhere and would be grateful for any hints toward a correction.
[SOLVED] Installing the masked version, net-print/cups-2.3_beta4, restored the old, desired, behavior. [/SOLVED]
[UPDATE] I note that cups-2.3_beta4 works only with firefox-bin-60.0 and still not with chromium-67.0.3396.62 so my initial problem may have been with the browser and not with cups itself. So using Firefox becomes my new, somewhat better, workaround. [/UPDATE]
Last edited by cfgauss on Sat Jun 02, 2018 8:42 pm; edited 2 times in total |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2964 Location: Edge of marsh USA
|
Posted: Fri May 11, 2018 4:14 pm Post subject: |
|
|
I updated cups on my Intel x86_64 system this morning. It was uneventful, though stopping cupsd is tricky. There was an elog about what to do:
Code: | killall cupsd
/etc/init.d/cupsd zap
/etc/init.d/cupsd start |
The zap command argument was new to me. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 688 Location: USA
|
Posted: Fri May 11, 2018 7:41 pm Post subject: |
|
|
figueroa wrote: | I updated cups on my Intel x86_64 system this morning. It was uneventful, though stopping cupsd is tricky. There was an elog about what to do:
Code: | killall cupsd
/etc/init.d/cupsd zap
/etc/init.d/cupsd start |
The zap command argument was new to me. |
Thanks for the suggestion. I did this but still have the same error. Here's the exact error message when I Set Default Options:
Code: | Unauthorized
Enter your username and password or the root username and password to access this page. If you are using Kerberos authentication, make sure you have a valid Kerberos ticket. |
The kerberos USE flag is not set on net-print/cups-2.2.7. |
|
Back to top |
|
|
Hammett Apprentice
Joined: 26 Jan 2005 Posts: 223 Location: Barcelona, Catalonia
|
Posted: Fri Jun 01, 2018 4:13 pm Post subject: |
|
|
I have the same issue. Reverting to CUPS 2.2.6 solves the issue as it asks again for the root password.
Strangely enough, my user is in lpadmin, but I get asked the root password nonetheless. _________________ I don't fear the people. I fear the demon inside them. |
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 688 Location: USA
|
Posted: Fri Jun 01, 2018 9:45 pm Post subject: |
|
|
Hammett wrote: | ...Reverting to CUPS 2.2.6 solves the issue as it asks again for the root password...
|
It's also possible to go forward: adding the line =net-print/cups-2.3_beta4 ** to /etc/portage/package.accept_keywords allowed that version of cups to install and it has the desired, "normal," behavior. |
|
Back to top |
|
|
|