[Samba] SOLVED Samba 3.0.0, CUPS support - "Unable to open printcap file cups for read!"

Gerald (Jerry) Carter jerry at samba.org
Wed Dec 10 05:06:01 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 10 Dec 2003, Kurt Pfeifle wrote:

> Fran Fabrizio wrote:
> 
> >>I have set "Printcap /dev/null" in cupsd.conf and re-started cupsd
> >>first then smbd. Guess what? "smbclient -L localhost" still lists all
> >>my printers! And I can still print from my Windows apps. (I can't
> >>print anymore from OpenOffice, since that one *does* look for a
> >>printcap....)
> > 
> > 
> > In desperation I tried "printcap = /etc/printcap" even though the
> > HOWTO recommended "printcap = cups" and Kurt's advice above is that
> > you could even redirect to /dev/null.  Guess what, it worked.  At
> > least on my install, it seems to require that you do have a real, live
> > printcap even for CUPS printing support.  I then added another printer
> > via the redhat printer config tool, which added it to CUPS.  I
> > restarted smb and the new printer showed up on my Windows clients.  
> > So, the residual question is why does it require a real printcap file
> > even under CUPS support?
> 
> I think you should submit a bug report to http://bugzilla.samba.org/

CUPS works fine for me here.  No dummy printcap needed.  Something 
else is funny with that configuration.







- --
cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "If we're adding to the noise, turn off this song" --Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE/1qm8IR7qMdg1EfYRAqvMAKCZHBM3g2L/elwWBqwUw6Z2eHe91ACgg6QL
EubTIqxIz/mBMY4POHUXa0Q=
=hLDc
-----END PGP SIGNATURE-----



More information about the samba mailing list