如何关掉samba访问打印系统
Posted On 2016年9月27日
使用默认的配置启动samba时,后台日志报如下错误。 (此时我没有安装cups并启动cups) 什么是cups? https://en.wikipedia.org/wiki/CUPS
Unable to connect to CUPS server localhost:631 – Connection refused
[2016/09/27 15:35:57.981701, 0] printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
从日志当中可以看到,他尝试链接了cups server服务器631端口,因为我压根没有启动cups,所以提示链接拒绝失败。
修改smb.conf如下的参数重启服务即可。
printing = bsd
printcap name = /dev/null
此篇文章已被阅读1980 次