Re: F10 Cups / Samba / Vista

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-01-28 at 11:59 +0800, Ed Greshko wrote:
> Michael Cronenworth wrote:
> > Craig White wrote:
> >> I suspect that you are using a 'client driver' to print via the 'raw'
> >> printer on cups and the upgrade ended up changing /etc/cups/mime.types
> >> and /etc/cups/mime.convs
> >>
> >> check out...
> >> http://samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html#id2631669
> >>
> >>
> >> for information on how to print using client driver and enable 'raw'
> >> printing support on your cups shared printer
> >>   
> >
> > Craig, if you looked at your own files you'd notice that Fedora no
> > longer ships the config files that way.
> >
> FWIW, I have a recently installed F10 and it contains....untouched by me.
> 
> /etc/cups/mime.convs
> 
> [egreshko@f10 cups]$ grep raw mime.convs
> # without the -oraw option.
> #application/octet-stream       application/vnd.cups-raw        0       -
> 
> and
> 
> /etc/cups/mime.types
> 
> [egreshko@f10 cups]$ grep octet-stream mime.types
> application/octet-stream
> 
> So, one is line is commented and one is uncommented...  The link
> provided indicates both need to be uncommented but only in so far as to
> achieve the desired results.   My interpretation of the link doesn't
> lead me to conclude *how* the files are shipped or even if the author is
> intending to imply how the files are shipped.
> 
> Either way, it doesn't really matter does it?  I mean the goal here is
> to get things to work the way Brian needs/expects.
----
it does seem odd that at some point and I can't tell if it was in Fedora
8 or Fedora 9, that they changed /etc/cups/mime.types and uncommented
out the application/octet-stream line.

It is fairly clear that the cups authors (now Apple) are aware of the
security implications of just allowing raw data to pass through
unchecked and of course a distro like Fedora can implement default
configuration files however they see fit.

The point was of course to help the OP figure out why he couldn't print
and it seemed likely that I had long ago 'uncommented' the raw printing
protection in my mime.convs and mime.types and some update at some point
simply over wrote the mime.convs file and never bothered leaving a
mime.convs.rpmnew file and I suspect that is what happened to the OP and
why it worked previously in Fedora-9 but not now in Fedora-10.

The samba link I provided gives a complete explanation including the
alterations necessary to enable raw printing.

Craig

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux