首页 > 系统服务 > 详细

ubuntu + samba 共享失败

时间:2017-02-08 11:28:58      阅读:149      评论:0      收藏:0      [点我收藏+]

主机版本:ubuntu14.04
问题描述:Samba服务配置后仍然不通。

samba服务这么成熟的东西,本以为在ubuntu上修改下smb.conf重启就得了,但是访问还是失败。
表现是,可以看到samba中配置的共享文件夹,但是却打不开,被告知
 无法访问。您可能没有权限使用网络资源,请与这台服务器的管理员联系以查明您是否有访问权限。
指定的网络名不再可用。


最终通过 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.

ubuntu + samba 共享失败

原文:http://www.cnblogs.com/freebird92/p/6377277.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!