Re: Problem with remote printer & cups
On Tue, Aug 12, 2003 at 06:52:33PM +0200, Joan Tur wrote:
> 2. cups logs (set to debug) from the printer server show (192.168.0.4 is the
> laptop's IP):
> access_log:
> - ------
> 192.168.0.4 - - [12/Aug/2003:16:41:20 +0200] "POST /printers/ HTTP/1.1" 403 0
> - ------
> error_log:
> - ------
> D [12/Aug/2003:16:41:20 +0200] AcceptClient() 6 from 192.168.0.4:631.
> D [12/Aug/2003:16:41:20 +0200] ReadClient() 6 POST /printers/ HTTP/1.1
> D [12/Aug/2003:16:41:20 +0200] SendError() 6 code=403
> - ------
403 means access forbidden. This looks like some security issue.
> The worst is that the laptop (using debian unstable/kde 3.1.x) was printing
> through the server's cups... under Mandrake 9 8-/ ... I need it to work,
> help appreciated ;)
That is not 'worst', really. That is good, very good. You know it can
work, and will do so invariably.
You might want to check your security section in /etc/cups/cupsd.conf.
Look for something like:
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.0/24
</Location>
This means that only localhost and the localnetwork (192.168.0.x) are
allowed to connect to cups. IIRC, the default is only localhost, ;-)
HTH,
David
Reply to: