cups admin panel lauscht nicht im Netzwerk

carbuncle

Rainbow Six
Servus,

folgendes Problem: Ich möchte den Cups Server über die Weboberfläche von einem Client aus administrieren. Leider bekomme ich über den Client kein Zugriff auf den Server (Admin Panel).

Es ist wahrscheinlich nur ein dummer Fehler, aber ich finde ihn grad net :D

Hier ist die cupsd.conf und ein "sockstat -4 -l" Auszug:

Code:
#
# "$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 info

# Administrator user group...
SystemGroup wheel

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


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


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

# Restrict access to the server...
<Location />
  Order allow,deny
  Deny From All
  Allow From 127.0.0.1
  Allow From 192.168.1.*

#  Allow localhost
#  Allow From All
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Encryption Required
  Order allow,deny
#  Allow localhost
  Allow From 192.168.1.5
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Basic
  Require user @SYSTEM
  Order allow,deny
#  Allow localhost 192.168.1.5
</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
  </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
  </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>

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


Code:
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
www      httpd      652   3  tcp46  *:80                  *:*
www      httpd      652   4  tcp4   *:*                   *:*
root     sendmail   551   4  tcp4   127.0.0.1:25          *:*
root     sshd       545   4  tcp4   *:22                  *:*
root     smbd       485   19 tcp4   *:445                 *:*
root     smbd       485   20 tcp4   *:139                 *:*
www      httpd      484   3  tcp46  *:80                  *:*
www      httpd      484   4  tcp4   *:*                   *:*
www      httpd      483   3  tcp46  *:80                  *:*
www      httpd      483   4  tcp4   *:*                   *:*
www      httpd      482   3  tcp46  *:80                  *:*
www      httpd      482   4  tcp4   *:*                   *:*
www      httpd      481   3  tcp46  *:80                  *:*
www      httpd      481   4  tcp4   *:*                   *:*
www      httpd      480   3  tcp46  *:80                  *:*
www      httpd      480   4  tcp4   *:*                   *:*
root     nmbd       476   6  udp4   *:137                 *:*
root     nmbd       476   7  udp4   *:138                 *:*
root     nmbd       476   8  udp4   192.168.1.1:137       *:*
root     nmbd       476   9  udp4   192.168.1.1:138       *:*
root     cupsd      458   3  tcp4   127.0.0.1:631         *:*
root     cupsd      458   5  udp4   *:631                 *:*
root     httpd      450   3  tcp46  *:80                  *:*
root     httpd      450   4  tcp4   *:*                   *:*
bind     named      393   20 udp4   192.168.1.1:53        *:*
bind     named      393   21 tcp4   192.168.1.1:53        *:*
bind     named      393   22 udp4   127.0.0.1:53          *:*
bind     named      393   23 tcp4   127.0.0.1:53          *:*
bind     named      393   24 udp4   *:53                  *:*
bind     named      393   26 tcp4   127.0.0.1:953         *:*
root     syslogd    316   9  udp4   *:514                 *:*

Vielleicht sieht ja einer den Schnitzer :)

mfg

Carb
 
carbuncle schrieb:
Code:
Listen localhost:631
Listen 127.0.0.1:631
#Listen 192.168.1.0:631
Listen /var/run/cups.sock

CUPS scheint nur auf dem lokalen Interface zu lauschen. Dekommentier mal die Zeile mit der Raute...

juergen
 
Ok,

ich habe jetzt in der <Location /> Sektion mal ein Allow From All reingeschrieben. Danach hat es funktioniert. Diese Sache ist im moment aber etwas unschön, da die Rechte nicht sehr fein granuliert sind.

mfg

carb
 
Warum?
Du kannst doch die Administration per <Location /admin> entsprechend konfigurieren. Die normalen Seiten könnte z.B. jeder Benutzer erreichen, die Admin-Seiten hingegen könntest Du mit per AuthType- und Require-Statement entsprechend einschränken.
 
Zurück
Oben