CUPS-Add-Modify-Printer: Unauthorized

angelb at bugarin.us angelb at bugarin.us
Wed Mar 22 13:39:10 PST 2006


Hello all.

I have 1.2b2 installed and am now trying to add a new printer queue
to test with. Upon doing so, the printer never gets added and the
error_log is filled with "CUPS-Add-Modify-Printer: Unauthorized".

I've changed file permission settings and giving all access in the
configuration file to no avail.

While entering info from the web interface, I'm also monitoring the
error_log. You'll see some notes in-between the error_log file as I
correlate my entries and how CUPS is responding to them. The following
is a sample from the error_log:

I [22/Mar/2006:14:22:33 -0600] Full reload complete.
I [22/Mar/2006:14:22:33 -0600] Listening to :::631 on fd 0...
I [22/Mar/2006:14:22:33 -0600] Listening to 0.0.0.0:631 on fd 2...
I [22/Mar/2006:14:22:44 -0600] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=29428)
I [22/Mar/2006:14:23:07 -0600] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=29430)
I [22/Mar/2006:14:23:07 -0600] Started "/usr/lib/cups/daemon/cups-deviced" (pid=29431)
I [22/Mar/2006:14:23:11 -0600] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=29440)
I [22/Mar/2006:14:23:31 -0600] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=29441)
I [22/Mar/2006:14:23:31 -0600] Started "/usr/lib/cups/daemon/cups-driverd" (pid=29442)
I [22/Mar/2006:14:23:34 -0600] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=29444)
I [22/Mar/2006:14:23:34 -0600] Started "/usr/lib/cups/daemon/cups-driverd" (pid=29445)

Clicking "Add Printer" from web interface after selecting the Model

E [22/Mar/2006:14:23:57 -0600] CUPS-Add-Modify-Printer: Unauthorized

>From here the User name and Password window pop-up which I promptly filled in.

I [22/Mar/2006:14:24:06 -0600] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=29448)
E [22/Mar/2006:14:24:06 -0600] CUPS-Add-Modify-Printer: Unauthorized
E [22/Mar/2006:14:24:06 -0600] CUPS-Add-Modify-Printer: Unauthorized
E [22/Mar/2006:14:24:06 -0600] CUPS-Add-Modify-Printer: Unauthorized
E [22/Mar/2006:14:24:06 -0600] CUPS-Add-Modify-Printer: Unauthorized
E [22/Mar/2006:14:24:06 -0600] CUPS-Add-Modify-Printer: Unauthorized
E [22/Mar/2006:14:24:06 -0600] CUPS-Add-Modify-Printer: Unauthorized
. 
. 
. 

The web interface never finishes and the error_log just get filled with
the Unauthorized messages.

I have temporarily changed the permission for /etc/cups/ppd to 775, it
never asked me to put in the User name and Password but still spewing
out Unauthorized messages in error_log and it never finishes.

I've Allowed All for /admin in my configuration file to no avail.

Any suggestion or comment on how to fix this is appreciated.

Thanks!
Angel





More information about the cups mailing list