[opensuse] CUPS error "client-error-not-authorized"
I recently upgraded from opensuse 10.1 to 10.2 My office has a Canon ImageRunner 2800, a networked digital copier/printer/scanner. For these type of Canon copier/printers there is a shell script from BrightQ that configures the device. The file is called canon-brightq-2.3.0-linux-2006-04-14.run and is 43 mb in size Running this script in 10.0 and in 10.1 worked perfectly, and gave me access to all the features of the device. Now when I run the script it is fine until the last step, then it gives the error message add printer failed client-error-not-authorized This looks like a permission error to me. Note that I run the script as root. I have checked out various sites for cups documentation, and have gone to localhost:631 to access the CUPS web configuration. I think the relevant section of the configuration file, /etc/cups/cupsd.conf, is # All administration operations require an adminstrator to authenticate... <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default> AuthType Basic Require user @SYSTEM # Order deny,allow Order allow,deny </Limit> At least it has the language CUPS-Add-Printer. I commented out Order deny,allow and replaced it with Order allow,deny. that didn't help. Please note that I can use Yast to add a printer and print to the device, but the choices for Canon do not include the ImageRunner 2800, and specifically do not allow me to use the envelope cassette. Any pointers would be appreciated. One thought is to run the script on a 10.1 machine and generate the ppd file and then use that ppd file with Yast. Not a real pleasant thought as my home machine is already upgraded to 10.2 and I don't want to reinstall 10.1 just to configure a printer. Mike -- Michael A. Coan Woodlawn Foundation 524 North Avenue, Suite 203 New Rochelle, NY 10801-3410 Tel: 914-632-3778 Fax: 914-632-5502 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2007-01-11 at 16:11 -0500, Mike Coan wrote:
I recently upgraded from opensuse 10.1 to 10.2
My office has a Canon ImageRunner 2800, a networked digital copier/printer/scanner. For these type of Canon copier/printers there is a shell script from BrightQ that configures the device. The file is called
canon-brightq-2.3.0-linux-2006-04-14.run
and is 43 mb in size
Running this script in 10.0 and in 10.1 worked perfectly, and gave me access to all the features of the device. Now when I run the script it is fine until the last step, then it gives the error message
add printer failed client-error-not-authorized
This looks like a permission error to me. Note that I run the script as root.
<snip>
lppasswd -a -g sys
On Thursday 11 January 2007 16:48, Kenneth Schneider wrote:
On Thu, 2007-01-11 at 16:11 -0500, Mike Coan wrote:
I recently upgraded from opensuse 10.1 to 10.2
My office has a Canon ImageRunner 2800, a networked digital copier/printer/scanner. For these type of Canon copier/printers there is a shell script from BrightQ that configures the device. The file is called
canon-brightq-2.3.0-linux-2006-04-14.run
and is 43 mb in size
Running this script in 10.0 and in 10.1 worked perfectly, and gave me access to all the features of the device. Now when I run the script it is fine until the last step, then it gives the error message
add printer failed client-error-not-authorized
This looks like a permission error to me. Note that I run the script as root.
<snip>
lppasswd -a -g sys
supply password twice
If you have not already done so.
Or maybe I am wrong on this, is it still needed in 10.2?
Thank you Ken for the quick reply. Your message reminded me that I had run the command lppasswd -a -g sys root and added the root passwd. I forgot that originally upon running the configuration command "codehost-config", I got three error messages. Running the command you suggested eliminated two of the error messages, but left the error message in my original message add printer failed client-error-not-authorized I reran the lppasswd command and restarted the cups daemon, but still get the same error message. Mike Michael A. Coan Woodlawn Foundation 524 North Avenue, Suite 203 New Rochelle, NY 10801-3410 Tel: 914-632-3778 Fax: 914-632-5502 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007-01-11 16:17, Mike Coan wrote:
<snip>
lppasswd -a -g sys root
Now that you have done this, you'll probably have to add root to group sys in the user/group manager. Had you used just "lppasswd -a root" without specifying a group, it would work properly. -- The best way to accelerate a computer running Windows is at 9.81 m/s² -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 11 January 2007 22:46, Darryl Gregorash wrote:
On 2007-01-11 16:17, Mike Coan wrote:
<snip>
lppasswd -a -g sys root
Now that you have done this, you'll probably have to add root to group sys in the user/group manager. Had you used just "lppasswd -a root" without specifying a group, it would work properly.
Darryl, Thanks for your suggestion. I added root to the sys group and still the same error message. I then unistalled brightq and cups. Reinstalled cups and brightq, ran the command lppasswd -a root and then tried to configure the printer with brightq. Same result. Fiddling with that, however, gave me the idea of using the ppd file that came on the CD with the copier/printer. I simply used Yast to add the PPD file to the database, and then chose that file for the printer/copier. Worked perfectly and gives me all the options for the printer. Now I don't have to use the third party software from Canon. Mike -- Michael A. Coan Woodlawn Foundation 524 North Avenue, Suite 203 New Rochelle, NY 10801-3410 Tel: 914-632-3778 Fax: 914-632-5502 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007-01-11 15:48, Kenneth Schneider wrote:
On Thu, 2007-01-11 at 16:11 -0500, Mike Coan wrote:
add printer failed client-error-not-authorized
This looks like a permission error to me. Note that I run the script as root.
<snip>
lppasswd -a -g sys
supply password twice
If you have not already done so.
Or maybe I am wrong on this, is it still needed in 10.2?
You are correct all round. This is a CUPS security function, and has nothing to do with the distro. CUPS requires separate passwords for everyone who's authorized, even for root. Everyone who is not in group root must be in group sys (or system, for some *nix configurations). -- The best way to accelerate a computer running Windows is at 9.81 m/s² -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Darryl Gregorash
-
Kenneth Schneider
-
Mike Coan