[cups.general] missing response for configuration of new printer

Tom Allison tom at tacocat.net
Sat Dec 13 05:15:26 PST 2008


I'm trying to set up a new printer server (v1.3.8).

I have installed everything (or I think I did).  This is a headless 
server with no X server so no localhost browser.

When I go through the process of adding a printer from a remote host I 
get through the process to a point.

I can search for a printer and find it.
I can identify the PPD file from the drop down list.
(https://voyager.tacocat.net:631/admin)
But when I submit everything just hangs waiting for a response.....

And this is what I'm left with.

D [13/Dec/2008:08:06:23 -0500] [cups-driverd] Sending 
gutenprint.5.0://kyocera-km-5530/expert/C (Kyocera KM-5530 - 
CUPS+Gutenprint v5.0.2)...
D [13/Dec/2008:08:06:23 -0500] [cups-driverd] Sending 
gutenprint.5.0://kyocera-km-6230/expert/C (Kyocera KM-6230 - 
CUPS+Gutenprint v5.0.2)...
D [13/Dec/2008:08:06:23 -0500] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Dec/2008:08:06:23 -0500] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Dec/2008:08:06:23 -0500] cupsdCloseClient: 9
D [13/Dec/2008:08:06:23 -0500] PID 3763 
(/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors.
D [13/Dec/2008:08:06:23 -0500] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Dec/2008:08:06:23 -0500] PID 3764 
(/usr/lib/cups/daemon/cups-driverd) exited with no errors.
D [13/Dec/2008:08:07:20 -0500] cupsdReadClient: 8 POST /admin HTTP/1.1
D [13/Dec/2008:08:07:20 -0500] cupsdAuthorize: No authentication data 
provided.
D [13/Dec/2008:08:07:20 -0500] Report: clients=1
D [13/Dec/2008:08:07:20 -0500] Report: jobs=0
D [13/Dec/2008:08:07:20 -0500] Report: jobs-active=0
D [13/Dec/2008:08:07:20 -0500] Report: printers=0
D [13/Dec/2008:08:07:20 -0500] Report: printers-implicit=0
D [13/Dec/2008:08:07:20 -0500] Report: stringpool-string-count=171
D [13/Dec/2008:08:07:20 -0500] Report: stringpool-alloc-bytes=5048
D [13/Dec/2008:08:07:20 -0500] Report: stringpool-total-bytes=3784



This is currently running on a box that I'm setting up as a firewall 
box, but there is nothing currently blocking the network.  And since I 
can get the message into the server I really don't see where the 
firewall has any play.

so I think I'm looking at a cups problem.

I'm also able to do a fair amount of this process under http and not 
https but that might be just fine.  I did restart the cups server.

I'm using another 1.3.8 server as a reference for the configuration file 
and have included the statement 'Allow 192.168.10.*' on all the LIMIT 
tags to ensure I have the correct NIC doing the cups talking.  I also 
have...  heck - here's my configuration file (it's annoying not seeing it):

# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel debug

# Administrator user group...
SystemGroup lpadmin


# Only listen for connections from the local machine.
Listen 192.168.10.1:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow 192.168.10.*
BrowseProtocols cups dnssd

# Default authentication type, when authentication is required...
DefaultAuthType Basic
Encryption Required

# Restrict access to the server...
<Location />
   Allow 192.168.10.*
   Order allow,deny
</Location>

# Restrict access to the admin pages...
<Location /admin>
   Allow 192.168.10.*
   Order allow,deny
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
   Allow 192.168.10.*
   AuthType Default
   Require user @SYSTEM
   Order allow,deny
</Location>

# Set the default printer/job policies...
<Policy default>
   # Job-related operations must be done by the owner or an administrator...
   <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job 
Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription 
Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job 
Suspend-Current-Job Resume-Job CUPS-Move-Job>
     Require user @OWNER @SYSTEM
     Order deny,allow
   </Limit>

   # All administration operations require an administrator to 
authenticate...
   <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer 
CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
     AuthType Default
     Require user @SYSTEM
     Order deny,allow
   </Limit>

   # All printer operations require a printer operator to authenticate...
   <Limit Pause-Printer Resume-Printer 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-Accept-Jobs 
CUPS-Reject-Jobs>
     AuthType Default
     Require user @SYSTEM
     Order deny,allow
   </Limit>

   # Only the owner or an administrator can cancel or authenticate a job...
   <Limit Cancel-Job CUPS-Authenticate-Job>
     Require user @OWNER @SYSTEM
     Order deny,allow
   </Limit>

   <Limit All>
     Order deny,allow
   </Limit>
</Policy>





More information about the cups mailing list