Centos 7 上的Samba服務器搭建好。在以前的Centos6上搭建的Samba一直都能正常顯示在Windows 7、10、11的網(wǎng)絡鄰居中的,并且安卓設備的網(wǎng)絡鄰居也都可以顯示出Samba,而現(xiàn)在只有Windows 7、10以及安卓設備能在網(wǎng)絡鄰居里顯示Samba共享。甚至今天在完成所有搭建前,它仍然能顯示在網(wǎng)絡鄰居中。后來不知道是什么情況導致突然不管怎么設置,網(wǎng)絡鄰居都不再顯示Samba共享的主機名了。但是可以通過\\Samba主機名和\\IP地址的方式訪問。這個嚴重強迫癥我實在是煩的慌,網(wǎng)上的很多資料都不對。然后在官方的wiki中找到了這個:?
https://wiki.samba.org/index.php/FAQ#Why_does_Windows_Network_Neighborhood_not_show_Samba_server(s)?
Why does Windows Network Neighborhood not show Samba server(s)?
If you are using SMB2 or SMB3, network browsing uses WSD/LLMNR, which is not yet supported by Samba?[1]. SMB1 is disabled by default on the latest Windows versions for security reasons. It is still possible to access the Samba resources directly via \\name or \\ip.address.
If SMB1 is enabled on Windows, check that NetBIOS over TCP/IP is also enabled, and that nmbd is started on the server.
?為什么Windows 網(wǎng)絡鄰居不顯示Samba服務器?
如果你正在使用SMB2或者SMB3,網(wǎng)絡瀏覽器使用WSD/LLMNR,目前還沒有被Samba支持。SMB1在最新的Windows版本中因為安全理由被默認禁用了。仍然可以直接通過“\\主機名”或者“\\IP地址”的方式來訪問Samba資源。文章來源:http://www.zghlxwxcb.cn/news/detail-636430.html
如果Windows已啟用SMB1,檢查TCP/IP上的NetBIOS是否也已啟用,并且服務器上的nmbd已啟動。文章來源地址http://www.zghlxwxcb.cn/news/detail-636430.html
到了這里,關于Samba在Windows 11的網(wǎng)上鄰居中不能顯示的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網(wǎng)!