Cups Web Admin Authentication Fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Binary package hint: cups
My home office configuration is Karmic Koala server sharing a printer to be used by a Windows XP box on the local network. While attempting to manage CUPS from the XP box after connecting to the server port 631, certain pages ask for a root login but the correct name and password apparently fail and the user name / password dialog reappears never completing. Escalating the Logging level to "debug" I found that cupsdAuthorize was failing with no user name data being passed .
I tried many things and, as seems always to be the case with these things, ended up with a fix but not enough energy to start over with a fresh cupsd.conf, /etc/group, and lppasswd configuration to reproduce the problem and isolate the minimum number of changes needed to fix the problem. Thus, some or all of the following changes have fixed the problem:
1. Add root to Shadow group in /etc/group
2. Add root to lpadmin group in /etc/group
2. Add root to lppasswd via lppaswd -a root and responding to the password prompt with my root password
3. Change DefaultAuthType to BasicDigest
Perhaps someone can identify the minimum set of changes required.
On a side note, I receive, when connecting to certain locations, the 426 Upgrade Required page mentioned elsewhere that changes from http://
I'm on Maverick alpha 2. I can confirm your solution works.
Here's what I did: cupsd.conf
sudo passwd root
sudo usermod -aG shadow root
sudo usermod -aG lpadmin root
sudo lppasswd -a root
sudo vi /etc/cups/
sudo service cups restart
I will write back if I find some of these steps are not necessary, or if enabling the root account can be avoided...