No network printing after upgrade to 1.2.0

Axel Braun axel.removeme.braun at gmx.de
Fri Jun 23 09:53:57 PDT 2006


Kurt Pfeifle wrote:

>> On the clients (SuSE 10.0 as well) the formerly working printer setting
>> remained unchanged, but the printserver cant be reached. New setup fails
>> as well, as the server cant be reached
>> (ipp://southpole:631/printers/HPLJ5 ).
> 
> source of 1.2.0 version;  config file (sans comments, sans empty lines!);
> log file extracts ("LogLevel debug");  http://www.cups.org/cups-help.html

Looking more throgh it I found that setting the network device additionally
helps:
Listen 192.168.0.254:631

Now I got contact (tätääää!), but authorisation seems to faul:

D [23/Jun/2006:18:46:33 +0200] cupsdAcceptClient: 8 from 192.168.0.15:631
(IPv4)
D [23/Jun/2006:18:46:33 +0200] cupsdReadClient: 8 POST /printers/HPLJ5
HTTP/1.1
D [23/Jun/2006:18:46:33 +0200] cupsdAuthorize: No authentication data
provided.
D [23/Jun/2006:18:46:33 +0200] cupsdSendError: 8 code=403 (Forbidden)
D [23/Jun/2006:18:46:33 +0200] cupsdCloseClient: 8

I tried changing the default authorisation with

DefaultAuthType None
(which does not work)
as well as setting the authorised users to '*' in the web frontend. Was also
not successful.

---
southpole:/home/axel # cat /etc/cups/cupsd.conf|grep -v ^#|grep [:alnum:]
Listen localhost:631
Listen 192.168.0.254:631
Listen /var/run/cups/cups.sock
BrowseOrder allow,deny
DefaultAuthType Basic
<Location />
Order allow,deny
Allow From localhost
</Location>
<Location /admin>
Order allow,deny
Allow From localhost
</Location>
<Location /admin/conf>
AuthType Basic
Order allow,deny
Allow From localhost
</Location>
<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>
Order deny,allow
  # 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
Order deny,allow
  # Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Order deny,allow
Order deny,allow
southpole:/home/axel #          
---

Thanks
Ax

-- 
remove removeme before personal mailing. Thx




More information about the cups mailing list