Unauthorized: Cannot manage printers using lpadmin or cupsctl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cups
Default Lucid install. My main user account has sudo privileges and belongs to group lpadmin, but all my attempts at managing my printer using cupsctl and lpadmin fail with
lpadmin: Unauthorized
both for my main user id and with sudo.
This is a remote Windows printer shared over Samba.
era@fsopti607:~$ cupsctl --debug-logging
cupsctl: Unauthorized
era@fsopti607:~$ sudo cupsctl --debug-logging
[sudo] password for era:
cupsctl: Unauthorized
era@fsopti607:~$ lpadmin -p floor2_hpmf2 -o auth-info-
lpadmin: Unauthorized
era@fsopti607:~$ sudo lpadmin -p floor2_hpmf2 -o auth-info-
lpadmin: Unauthorized
era@fsopti607:~$ type -all lpadmin cupsctl
lpadmin is /usr/sbin/lpadmin
cupsctl is /usr/sbin/cupsctl
era@fsopti607:~$ dpkg -S /usr/sbin/lpadmin /usr/sbin/cupsctl
cups-client: /usr/sbin/lpadmin
cups-client: /usr/sbin/cupsctl
era@fsopti607:~$ apt-cache policy cups-client
cups-client:
Installed: 1.4.3-1ubuntu1.2
Candidate: 1.4.3-1ubuntu1.2
Version table:
*** 1.4.3-1ubuntu1.2 0
500 http://
500 http://
100 /var/lib/
1.4.3-1 0
500 http://
era@fsopti607:~$ groups
era adm dialout cdrom plugdev lpadmin admin sambashare
Status changed to 'Confirmed' because the bug affects multiple users.