转自:http://www.linuxdiyf.com/linux/28254.html
主机版本:ubuntu14.04
问题描述:Samba服务配置后仍然不通。
samba服务这么成熟的东西,本以为在ubuntu上修改下smb.conf重启就得了,但是访问还是失败。
最终通过 Samba的log, /var/log/samba/log.{计算机名} - 计算机名是你的windows主机名称
可以看到每次,访问出错时,都会产生大量的 err log
解决方案
I had this problem today after I installed samba-dbg to debug an issue. The whole thing just did not work and uninstalling samba-dbg did not fix the issue. What did fix the issue was running the following:
$ apt-get install --reinstall libsmbclient libsmbclient-dev libtevent0 libtalloc2
I think there was a miss match of shared libraries with either tevent or talloc. After reinstalling all the libraries all was fixed.
原文链接:https://www.f2er.com/ubuntu/353796.html