Tuesday, April 22, 2008

Samba - smbd: Unable to open printcap file /etc/printcap for read!

To stop samba from filling the log with entries like those:

Apr 22 13:34:30 unnamedsrv smbd[868]: [2008/04/22 13:34:30, 0] printing/pcap.c:pcap_cache_reload(159)
Apr 22 13:34:30 unnamedsrv smbd[868]: Unable to open printcap file /etc/printcap for read!

add following lines to your samba configuration file “/etc/samba/smb.conf”:

load printers = no
printcap name = /dev/null

You don’t have to restart your samba server, it re-reads the configuration by itself.

Information Source: http://ubuntuforums.org/showthread.php?t=232144

Posted by schmidi2 in 13:05:45 | Permalink | No Comments »