Hello,
I am currently trying to setup Samba 3.0.3pre1 to share my freshly
installed LaserJet. I have NOT had any printer until now, so I can't
tell you if the behavior was different before 3.0.3pre1.
The problem:
My smb.conf contains:
> [global]
> ## Printing
> load printers = yes
> printcap name = cups
> printing = cups
> [printers]
> comment = All Printers
> printing = cups
> path = /usr/spool/samba
> browseable = Yes
> printable = yes
There is no string "lpstat" in my smb.conf.
testparm runs through fine.
testparm -s | grep lpstat gives:
> Loaded services file OK.
> printcap name = lpstat
> lpq command = /usr/bin/lpstat -o '%p'
???
This results in the entries:
> tail /var/log/samba/log.smbd
> Copyright Andrew Tridgell and the Samba Team 1992-2004
> [2004/03/22 17:47:04, 0] printing/pcap.c:pcap_printer_fn(361)
> Unable to open printcap file lpstat for read!
> [2004/03/22 17:55:53, 0] printing/pcap.c:pcap_printer_fn(361)
> Unable to open printcap file lpstat for read!
> [2004/03/22 17:57:13, 0] smbd/server.c:main(748)
> smbd version 3.0.3pre1 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2004
> [2004/03/22 17:57:13, 0] printing/pcap.c:pcap_printer_fn(361)
> Unable to open printcap file lpstat for read!
What do I miss here ?
Thanks ...
--
best regards,
Stefan G. Weichinger
mailto:monitor@oops.co.at