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

Fran Fabrizio fran at cis.uab.edu
Tue Dec 9 19:40:16 GMT 2003


I've compiled Samba 3.0.0 with CUPS support.  I verified this:

# ldd /usr/local/samba/sbin/smbd
 libcups.so.2 => /usr/lib/libcups.so.2 (0x400dc000)     

My smb.conf was copied from the HOWTO and the relevant sections look



  # print support
  load printers = yes
  printing = cups
  printcap name = cups

  comment = All Printers
  path = /var/spool/samba
  browseable = no
  public = yes
  guest ok = yes
  writable = no
  printable = yes
  printer admin = root, @ntadmins

I log into the domain on an XP Pro client using the root account, and if
I try to browse to the printer via My Computer --> My Network Places -->
Entire Network --> MyDomain --> ds119b (this is my samba server) -->
Printers and Faxes, it comes up blank.  If I try to directly access the
printer via \\ds119b\MyPrinterName, it gets stuck in a loop.  In both
cases, I am getting errors like this:

Dec  9 13:38:17 ds119b smbd[21244]: [2003/12/09 13:38:17,
0] printing/pcap.c:pcap_printername_ok(282)
Dec  9 13:38:17 ds119b smbd[21244]:   Unable to open printcap file cups
for read!

Any ideas?  Thanks!



More information about the samba mailing list