Hallo zusammen,
ich habe ein Problem mit der Netzwerkdruckerkonfiguration. Ich möchte meinen lokal angeschlossenen HP5L Drucker, der lokal auch über CUPS funktioniert, als Netzwerkdrucker freigeben, dass ich von einem Laptop (Windows XP) über das Netz drucken kann.
leider kann ich den Drucker unter XP nicht einrichten, ich bekomme die Fehlermeldung:
Sie haben keinen Zugriff auf den Drucker. Bitte geben Sie einen anderen Benutzernamen oder ein anderes Passwort ein.
/var/log/cups/access_log zeigt folgende Fehlermeldung:
192.168.2.104 - - [28/Sep/2009:20:51:48 +0200] "POST /printers/HP5L HTTP/1.1" 403 0 - -
Lokale Anfragen gehen durch:
localhost - - [28/Sep/2009:20:49:59 +0200] "POST / HTTP/1.1" 200 129 CUPS-Get-Printers successful-ok localhost - - [28/Sep/2009:20:49:59 +0200] "POST / HTTP/1.1" 200 129 CUPS-Get-Classes successful-ok
Die Ports sind wohl offen: nmap
631/tcp open ipp Discovered open port 631/tcp on 192.168.2.101
Die cupsd.conf sieht wie folgt aus:
LogLevel warning SystemGroup lpadmin # Allow remote access Port 631 #Listen /var/run/cups/cups.sock # Enable printer sharing and shared printers. Browsing On BrowseOrder allow,deny BrowseAllow all BrowseAddress @LOCAL #DefaultAuthType Basic DefaultAuthType None <Location /> Deny From All Allow 127.0.0.1 Allow localhost Allow 192.168.2.* # Allow shared printing and remote administration... Order allow,deny Allow @LOCAL </Location> <Location /admin> Encryption Required # Allow remote administration... Order allow,deny Allow @LOCAL </Location> <Location /admin/conf> AuthType Basic Require user @SYSTEM # Allow remote access to the configuration files... Order allow,deny Allow @LOCAL </Location> <Policy default> <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 @LOCAL </Limit> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> AuthType Basic Require user @SYSTEM Order deny,allow </Limit> <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 Basic Require user @SYSTEM Order deny,allow </Limit> <Limit Cancel-Job CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy> <Location /printers> ## Anonymous access (default) AuthType None ## Require a username and password (Basic authentication) #AuthType Basic #AuthClass User ## Require a username and password (Digest/MD5 authentication) #AuthType Digest #AuthClass User #Order Deny,Allow Order Allow,Deny #Deny From None Allow From All Allow From 192.168.2.0/24 </Location>
Hat jemand eine Idee, warum der Zugriff verweigert wird?
Vielen Dank,
Christian