CUPS-Add-Modify-Printer: Unauthorized

angelb at bugarin.us angelb at bugarin.us
Wed Mar 22 13:55:50 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

Really strange. I added my user id into the "adm" group and then I was able to create the printer. My Location directives is "lp" for printers, admin, classes and jobs.

Just tried sent out a test page bug didn't work...perhaps another post.

Angel





More information about the cups mailing list