Can't print after CUPS update this morning?

Tim Waugh twaugh at redhat.com
Fri May 19 12:26:56 UTC 2006


On Thu, May 18, 2006 at 09:53:24PM +0300, Lauri wrote:

> I also got the problem, caused from invalid netmask value in cupsd.conf.
> 
> In:
> 
> # Lines below are automatically generated - DO NOT EDIT
> <Location /printers/psc750>
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> Allow from 192.168.1.1/255.255.255.0
> AuthType None
> </Location>
> 
> I had to remove the 255.255.255.0.

The reason CUPS is rejecting this is that the correct network address
is:

  192.168.1.0/255.255.255.0
and not
  192.168.1.1/255.255.255.0

CUPS-1.1.x would correct this for you, but CUPS-1.2 no longer does.
But this line in cupsd.conf gets written by system-config-printer (it
copies what you enter in the 'Sharing' dialog).

If you run, as root:

/usr/sbin/printconf-backend --force-rebuild
/sbin/service cups restart

you will probably find that the incorrect network address is back
again.

To test out the correct fix, please fetch these packages:

http://people.redhat.com/twaugh/tmp/cups-fc5/i386/system-config-printer-0.6.151.7-1.i386.rpm
http://people.redhat.com/twaugh/tmp/cups-fc5/i386/system-config-printer-gui-0.6.151.7-1.i386.rpm

and install them with 'rpm -Fvh system-config-printer*-0.6.151.7-1*'.
Then restart cups: '/sbin/service cups restart'

and things should work fine.  Let me know whether this works for you!

Thanks,
Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060519/e8408489/attachment-0001.sig>


More information about the fedora-list mailing list