26 Sep 2006

[FOSS] Samba: Unable to connect to CUPS server localhost

Slackware 中装了 Samba,没装 CUPS。"/var/log/syslog" 中塞满了下面的错误,几百 MB!

[2006/09/14 15:33:09, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused

Google 之后,"testparm -v | grep print" 发现 "printing = cups"! 原来 printing 默认是 cups! 在 smb.conf 中加入

 load printers = no
 printing = bsd

没有了烦人的错误。

--
http://jicknan.blogspot.com/

2 comments:

  1. 不完整,这样还是有可能不行的,可能版本差异,我的是
    samba Version 3.0.24 要加入

    load printers = no
    printing = bsd
    printcap name = /dev/null
    disable spoolss = yes

    这样才可以

    ReplyDelete
  2. welcome to the wow gold, cheap WoW Power Leveling, service site,wotlk gold buy cheap wow gold,wow gold,world of warcraft power leveling buy wow gold|*|wow power leveling|*|http://www.powerlevelingweb.com

    ReplyDelete