ubuntu + samba 共享失敗


主機版本: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.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM