[Samba] Print Problem - printcap file cups
ksarkies at trinity.asn.au
Thu Jun 12 01:11:02 GMT 2003
This might be the problem. I had a similar one somewhat more subtle. I
compiled Samba 3 and found that CUPS didn't compile in, though
requested. It turned out that I had a version of CUPS from a rogue rpm
picked up somewhere last year, that was lacking a configuration script
that Samba uses when compiling CUPS in. I then compiled and installed a
recent version of CUPS that fixed the problem - except that none of the
printers appeared in Windows (or with smbclient -L). Changing to
printcap name=/etc/printcap fixed the problem. Samba wasn't able to find
that file by accessing the CUPS configuration. I then uninstalled the
original rpm (which should have been done first off), and reinstalled
the later CUPS package. All is now well (apparently).
On Wed, 2003-06-11 at 23:44, Gareth Blades wrote:
> When I compiled 2.2.8a cups support was not compiled in even though I
> specifically specified it and there were no errors. If you type 'ldd
> /usr/local/samba/bin/smbd' you can see what libraries are linked against it
> and cups should be there.
> Make sure you have the cups-devel RPM package installed otherwise cups
> support wont get built in.
> > -----Original Message-----
> > From: samba-bounces+list.samba=webscreen-technology.com at lists.samba.org
> > [mailto:samba-bounces+list.samba=webscreen-technology.com at lists.samba.or
> > g]On Behalf Of Gorm Jensen
> > Sent: Wednesday, June 11, 2003 14:58
> > To: samba at lists.samba.org
> > Subject: [Samba] Print Problem - printcap file cups
> > I am using samba-2.2.7-3.7.2 on a redhat 7.2 server with an attached
> > printer which is run by CUPS. It worked OK until I upgraded to
> > samba-2.2.7-3.7.2. Now I can print locally on the server machine, but
> > not from the windows machines on the LAN.
> > The error message on the windows box is " Unable to create a print
> > job." Another error, produced daily when samba is "re-initialized"
> > during log rotation is "Unable to open printcap file cups for read!"
> > The samba log also shows "printing/pcap.c:pcap_printer_fn(372)
> > There is no file called "cups", so I tried adding world-read
> > permission to some of the likely config files. No joy. Searches of
> > the samba archive and google did not show anything useful.
> > Any help would be appreciated.
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: http://lists.samba.org/mailman/listinfo/samba
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba