[cups.general] status 13

Nicolas HAHN hahnn at x-itools.com
Wed Mar 21 03:50:24 PDT 2007



   Hi,

   we have cups 1.2.8 on solaris 10 (SPARC). After having modified the  
cupsd.conf file to authorize our network 192.168.245.0/24 (a lab in  
order to test cups with LDAP and with SAMBA) everywhere, I can log  
successfully on http://192.168.245.10:631 and I obtain the cups top  
page. But each time we try to click on a link, whatever it is, nothing  
happens in the browser and here below is an extract of what we have in  
the error_log. This happends even if we click on help, documentation,  
admin, ...

   Note that all cgi files have 755 permissions and are owned by root:root

   Do you have an idea ? I also join the cupsd.conf file.

   D [21/Mar/2007:11:43:46 -0100] cupsdAcceptClient: 10 from  
192.168.245.181:631 (IPv4)
D [21/Mar/2007:11:43:46 -0100] cupsdReadClient: 10 GET /help/ HTTP/1.1
D [21/Mar/2007:11:43:46 -0100] cupsdReadClient: 10 Browser asked for  
language "fr.utf-8"...
D [21/Mar/2007:11:43:46 -0100] cupsdAuthorize: No authentication data  
provided.
I [21/Mar/2007:11:43:46 -0100] commptr=""
D [21/Mar/2007:11:43:46 -0100] CGI /usr/lib/cups/cgi-bin/help.cgi  
started - PID = 18408
I [21/Mar/2007:11:43:46 -0100] Started  
"/usr/lib/cups/cgi-bin/help.cgi" (pid=18408)
D [21/Mar/2007:11:43:46 -0100] cupsdSendCommand: 10 file=11
E [21/Mar/2007:11:43:46 -0100] PID 18408  
(/usr/lib/cups/cgi-bin/help.cgi) stopped with status 13!
D [21/Mar/2007:11:43:46 -0100] [CGI] /usr/lib/cups/cgi-bin/help.cgi:  
Permission denied

   AND THE CUPSD.CONF FILE:
========================

   #
# "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $"
#
#   Sample configuration file for the Common UNIX Printing System (CUPS)
#   scheduler.  See "man cupsd.conf" for a complete description of this
#   file.
#

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

# Administrator user group...
SystemGroup sys root

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

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL

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

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow localhost
  Allow 192.168.245.0/24
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
  Allow localhost
  Allow 192.168.245.0/24
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Basic
  Require user @SYSTEM
  Order allow,deny
  Allow localhost
  Allow 192.168.245.0/24
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job-related operations must be done by the owner or an adminstrator...
  <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
    Allow from 192.168.245.0/24
  </Limit>

  # 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
    Allow from 192.168.245.0/24
  </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
    Allow from 192.168.245.0/24
  </Limit>

  <Limit All>
    Order deny,allow
    Allow from 192.168.245.0/24
  </Limit>
</Policy>

#
# End of "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $".
#

  --
Nicolas HAHN
X-Itools project manager



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20070321/0d273a91/attachment-0001.html>


More information about the cups mailing list