chains23
04.01.10, 18:55
Hallo habe da ein kleines problem:(
Ich habe cups auf einem debian lenny installiert.
Auf die weboberfläche komme ich mit localhost:631 drauf,
Aber wenn ich auf drucker hinzufügen gehe dann öffnet sich eine box und fragt nach username und passwort.
Root und root password funktionieren nicht.
Auf meinem ubuntu client:
ifconfig
eth0 Link encap:Ethernet Hardware Adresse 08:00:27:c8:34:7d
inet Adresse:192.168.3.152 Bcast:192.168.3.255 Maske:255.255.255.0
inet6-Adresse: fe80::a00:27ff:fec8:347d/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:15535 errors:0 dropped:0 overruns:0 frame:0
TX packets:15368 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:13516296 (13.5 MB) TX bytes:2565307 (2.5 MB)
Interrupt:11 Basisadresse:0xd020
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metrik:1
RX packets:1226 errors:0 dropped:0 overruns:0 frame:0
TX packets:1226 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:295444 (295.4 KB) TX bytes:295444 (295.4 KB)
tun0 Link encap:UNSPEC Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet Adresse:10.10.10.6 P-z-P:10.10.10.5 Maske:255.255.255.255
UP PUNKTZUPUNKT RUNNING NOARP MULTICAST MTU:1500 Metrik:1
RX packets:13451 errors:0 dropped:0 overruns:0 frame:0
TX packets:13263 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:100
RX bytes:12416732 (12.4 MB) TX bytes:1356709 (1.3 MB)
Cups.conf
# "$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 warning
# Administrator user group...
SystemGroup lpadmin
User cupsys
Group lpadmin
# Only listen for connections from the local machine.
Listen :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
# Restrict access to the server...
<Location />
Order allow,deny
</Location>
# Restrict access to the admin pages...
<Location /admin>
ALLOW 192.168.1.*
ALLOW 10.10.10.6
Order allow,deny
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Basic
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$
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$
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-Prin$
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>
#
Wo ist der fehler? Welches passwort und welchen username muss ich eingeben?
Ich habe cups auf einem debian lenny installiert.
Auf die weboberfläche komme ich mit localhost:631 drauf,
Aber wenn ich auf drucker hinzufügen gehe dann öffnet sich eine box und fragt nach username und passwort.
Root und root password funktionieren nicht.
Auf meinem ubuntu client:
ifconfig
eth0 Link encap:Ethernet Hardware Adresse 08:00:27:c8:34:7d
inet Adresse:192.168.3.152 Bcast:192.168.3.255 Maske:255.255.255.0
inet6-Adresse: fe80::a00:27ff:fec8:347d/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:15535 errors:0 dropped:0 overruns:0 frame:0
TX packets:15368 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:13516296 (13.5 MB) TX bytes:2565307 (2.5 MB)
Interrupt:11 Basisadresse:0xd020
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metrik:1
RX packets:1226 errors:0 dropped:0 overruns:0 frame:0
TX packets:1226 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:295444 (295.4 KB) TX bytes:295444 (295.4 KB)
tun0 Link encap:UNSPEC Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet Adresse:10.10.10.6 P-z-P:10.10.10.5 Maske:255.255.255.255
UP PUNKTZUPUNKT RUNNING NOARP MULTICAST MTU:1500 Metrik:1
RX packets:13451 errors:0 dropped:0 overruns:0 frame:0
TX packets:13263 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:100
RX bytes:12416732 (12.4 MB) TX bytes:1356709 (1.3 MB)
Cups.conf
# "$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 warning
# Administrator user group...
SystemGroup lpadmin
User cupsys
Group lpadmin
# Only listen for connections from the local machine.
Listen :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
# Restrict access to the server...
<Location />
Order allow,deny
</Location>
# Restrict access to the admin pages...
<Location /admin>
ALLOW 192.168.1.*
ALLOW 10.10.10.6
Order allow,deny
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Basic
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$
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$
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-Prin$
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>
#
Wo ist der fehler? Welches passwort und welchen username muss ich eingeben?