I have upgraded my Fedora Core 1 file server from the distribution supplied 3.0.0 RPMS to the Fedora/Samba 3.0.2 RPMS I found on the Samba Web Site. After doing this, printers are not be recognized or shared. When I restarted the server this message showed up in /var/log/samba/log.smbd: [2004/02/09 18:00:04, 0] printing/pcap.c:pcap_printer_fn(361) Unable to open printcap file cups for read! My /etc/samba/smb.conf file has this in the [global] section: printing = cups printcap name = cups load printers = yes And it has this for a [printers] section: [printers] path = /var/spool/samba guest ok = yes printable = yes use client driver = yes My /etc/printcap file is mode 644 and contains: # This file was automatically generated by cupsd(8) from the # /etc/cups/printers.conf file. All changes to this file # will be lost. lpcube1|Cubeland community printer:rm=fs.arcamax.com:rp=lpcube1: lpship1|lpship1:rm=fs.arcamax.com:rp=lpship1: This was all working before the upgrade. Ideas? -- Bryan White, ArcaMax Inc. Who approaches the Bridge of Death Must answer me these questions three Ere the other side he see.
Gerald (Jerry) Carter
2004-Feb-10 16:39 UTC
[Samba] CUPS printing on Fedora with 3.0.2 RPMs
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bryan White wrote: | I have upgraded my Fedora Core 1 file server from | the distribution supplied 3.0.0 RPMS to the Fedora/Samba 3.0.2 | RPMS I found on the Samba Web Site. .... | This was all working before the upgrade. I goofed the RPMS. my build machine didn't have the cups-devel packag on it. You can rebuild the SRPM or wait until I get new ones uploaded later today. 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.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFAKQlDIR7qMdg1EfYRAvqnAKDi8nLKFtoMw+x+D8ZAZZqLfWD5IQCYvrp3 k+7T+08FkxWZQ9tQt/Auxw==TVFr -----END PGP SIGNATURE-----
Hello Bryan. I used the same RPMs, and had the same error initially. If you change your printcap name = /etc/printcap I think you will find that error go away. TTyL>From: Bryan White <bryan@arcamax.com> >To: samba@lists.samba.org >Subject: [Samba] CUPS printing on Fedora with 3.0.2 RPMs >Date: Tue, 10 Feb 2004 08:58:34 -0500 > >I have upgraded my Fedora Core 1 file server from the distribution supplied >3.0.0 RPMS to the Fedora/Samba 3.0.2 RPMS I found on the Samba Web Site. > >After doing this, printers are not be recognized or shared. > >When I restarted the server this message showed up in >/var/log/samba/log.smbd: >[2004/02/09 18:00:04, 0] printing/pcap.c:pcap_printer_fn(361) > Unable to open printcap file cups for read! > >My /etc/samba/smb.conf file has this in the [global] section: > printing = cups > printcap name = cups > load printers = yes > >And it has this for a [printers] section: >[printers] > path = /var/spool/samba > guest ok = yes > printable = yes > use client driver = yes > >My /etc/printcap file is mode 644 and contains: ># This file was automatically generated by cupsd(8) from the ># /etc/cups/printers.conf file. All changes to this file ># will be lost. >lpcube1|Cubeland community printer:rm=fs.arcamax.com:rp=lpcube1: >lpship1|lpship1:rm=fs.arcamax.com:rp=lpship1: > >This was all working before the upgrade. > >Ideas? > >-- >Bryan White, ArcaMax Inc. > >Who approaches the Bridge of Death >Must answer me these questions three >Ere the other side he see. > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba_________________________________________________________________ Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/