Hallo,
kann mir jmd sagen wie ich CUPS von 11.1 dazu bringe, Druckaufträge der Art:
lp -h gerberpc -d laser test.ps
anzunehmen? Es kommt immer: lp: Connection refused
Es funktioniert schon ein telnet auf 631 nicht:
pserver: # telnet gerberpc 631
Trying 192.168.10.238...
telnet: connect to address 192.168.10.238: Connection refused
Auf der 11.1 selbst funktioniert telnet localhost 631!
Die cupsd.conf meine ich schon an allen erdenklichen Stellen aufgebohrt zu
haben. Überhaupt suche ich wie bei jeder Suse immer nach einer cupsd.conf
die allen alles erlaubt! CUPS ist ja leider immer verrammelt (... kein Wunder
dass Windows 95% Marktanteil bei Desktops hat .. zurecht ;-) ) und daher
nur mit vielen Klimmzügen brauchbar zu machen:
#
# "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z 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 sys root
# Only listen for connections from the local machine.
Listen localhost:631
Listen 192.168.10.*:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
# Default authentication type, when authentication is required...
#DefaultAuthType Basic
DefaultAuthType None
# Restrict access to the server...
<Location />
Order allow,deny
Allow 127.0.0.2
Allow 192.168.10.*
</Location>
# Restrict access to the admin pages...
Encryption Required
Order allow,deny
</Location>
# Restrict access to configuration files...
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>
DefaultPolicy default
# easy is a very relaxed policy
<Policy easy>
# Job-related operations must be done by the owner or an administrator...
<Limit All>
Satisfy any
Order allow,deny
</Limit>
</Policy>
# paranoid is a very restricted policy
<Policy paranoid>
# Job-related operations must be done by the owner
<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
Allow from 127.0.0.0/8
Allow from 192.168.10.*
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
Allow from 127.0.0.0/8
Allow from 192.168.10.*
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
Allow from 127.0.0.0/8
Allow from 192.168.10.*
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
Allow from 127.0.0.0/8
Allow from 192.168.10.*
Order deny,allow
</Limit>
<Limit All>
Require user @OWNER @SYSTEM
Allow from 127.0.0.0/8
Allow from 192.168.10.*
Order deny,allow
</Limit>
</Policy>
#
# End of "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $".
#
Muss in die /etc/hosts vielleich noch was rein?
127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 gerberpc.site gerberpc
192.168.10.238 localhost localhost
192.168.10.231 pserver pserver
Der CUPS-Server (11.1) ist hat sich zum pserver übrigens
per ISDN eingewählt und die IP 192.168.10.238 erhalten,
hat sonst 192.168.10.40.
Schade, dass unter Linux alles wieder mal so kompliziert ist.
Die Rechnung für diese Sache wird meinen Kunden für diese kleine
Sache umhauen und wir nie wieder einen Linux-Arbeitsplatz
wollen. Unter Windows wäre ich schon längst fertig!
Wäre nicht schlecht wenn jedem CUPS eine cupsd.conf_open
beiläge, die reinkopiert werden könnte und jeder Zugriff egal
was wäre frei. Aber darauf warte ich seit 6 Jahren, Hoffnung habe ich
keine mehr :-(
Gruss
Ekkard
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@opensuse.org
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: opensuse-de+help@opensuse.org