{"id":14503,"date":"2025-04-18T21:13:34","date_gmt":"2025-04-18T13:13:34","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/14503.html"},"modified":"2025-04-18T21:13:34","modified_gmt":"2025-04-18T13:13:34","slug":"samba%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%9e%e7%8e%b0linux%e5%92%8cwindows%e4%ba%92%e8%ae%bf","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/14503.html","title":{"rendered":"Samba\u670d\u52a1\u5668\u5b9e\u73b0Linux\u548cWindows\u4e92\u8bbf"},"content":{"rendered":"<h2 id=\"%E4%B8%80.Samba%E7%90%86%E8%AE%BA%E7%9F%A5%E8%AF%86%C2%A0%20%C2%A0%C2%A0\" style=\"background-color:transparent\">\u4e00.Samba\u7406\u8bba\u77e5\u8bc6\u00a0 \u00a0\u00a0<\/h2>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Samba\u662f\u5728Linux\u548cUNIX\u7cfb\u7edf\u4e0a\u5b9e\u73b0SMB&#xff08;Server Messages Block&#xff0c;\u4fe1\u606f\u670d\u52a1\u5757&#xff09;\u534f\u8bae\u7684\u4e00\u4e2a\u514d\u8d39\u8f6f\u4ef6&#xff0c;\u7531\u670d\u52a1\u5668\u53ca\u5ba2\u6237\u7aef\u7a0b\u5e8f\u6784\u6210\u3002SMB\u534f\u8bae\u4e5f\u79f0\u4e3aCIFS&#xff08;Common Internet File System&#xff09;&#xff0c;\u662fWindows\u548c\u7c7bUnix\u7cfb\u7edf\u4e4b\u95f4\u5171\u4eab\u6587\u4ef6\u7684\u4e00\u79cd\u534f\u8bae\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u901a\u8fc7Samba&#xff0c;Linux\u548cUnix\u7cfb\u7edf\u80fd\u591f\u652f\u6301SMB\u534f\u8bae&#xff0c;\u4ece\u800c\u5b9e\u73b0\u4e0eWindows\u7cfb\u7edf\u7684\u4e92\u64cd\u4f5c\u3002Windows\u5ba2\u6237\u7aef\u53ef\u4ee5\u65e0\u7f1d\u5730\u8bbf\u95eeLinux\u6216Unix\u7cfb\u7edf\u4e0a\u7684\u5171\u4eab\u6587\u4ef6\u5939&#xff0c;\u5b9e\u73b0\u8de8\u5e73\u53f0\u7684\u6587\u4ef6\u5171\u4eab\u548c\u6253\u5370\u670d\u52a1\u3002<\/p>\n<h2 id=\"%E4%BA%8C.%E5%AE%89%E8%A3%85Samba\" style=\"background-color:transparent\">\u4e8c.\u5b89\u88c5Samba<\/h2>\n<p>\u4f7f\u7528\u7684\u7cfb\u7edf&#xff1a;<span style=\"color:#38d8f0\">Ubuntu 22.04<\/span><\/p>\n<p>\u5728Ubuntu\u4e2d\u5b89\u88c5Samba\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c&#xff1a;<\/p>\n<h3 id=\"1.%E6%9B%B4%E6%96%B0%E8%BD%AF%E4%BB%B6%E5%8C%85%E6%BA%90\" style=\"background-color:transparent\">1.\u66f4\u65b0\u8f6f\u4ef6\u5305\u6e90<\/h3>\n<p id=\"\">\u5728\u5b89\u88c5Samba\u4e4b\u524d&#xff0c;\u5efa\u8bae\u5148\u66f4\u65b0Ubuntu\u7684\u8f6f\u4ef6\u5305\u6e90&#xff0c;\u4ee5\u786e\u4fdd\u4e0b\u8f7d\u5230\u7684\u662f\u6700\u65b0\u7248\u672c\u7684Samba\u3002\u6253\u5f00\u7ec8\u7aef&#xff0c;\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>sudo apt-get update <\/p>\n<p>\u5982\u4e0b\u56fe\u6240\u793a&#xff1a;\u00a0<img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131331-68024ffb52cb5.png\" \/><\/p>\n<h3 id=\"2.%E5%AE%89%E8%A3%85Samba\" style=\"background-color:transparent\">2.\u5b89\u88c5Samba<\/h3>\n<p id=\"\">\u66f4\u65b0\u5b8c\u8f6f\u4ef6\u5305\u6e90\u540e&#xff0c;\u53ef\u4ee5\u5f00\u59cb\u5b89\u88c5Samba\u3002\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>sudo apt-get install samba  <\/p>\n<p>\u8fd9\u6761\u547d\u4ee4\u4f1a\u5b89\u88c5Samba\u7684\u6838\u5fc3\u7ec4\u4ef6&#xff0c;\u5305\u62ec<span style=\"color:#38d8f0\">\u00a0smbd<\/span>&#xff08;SMB\u670d\u52a1\u5668&#xff09;\u548c<span style=\"color:#38d8f0\">\u00a0nmbd<\/span>&#xff08;NetBIOS\u540d\u5b57\u670d\u52a1&#xff09;\u3002\u5982\u4e0b\u56fe\u6240\u793a&#xff1a;<\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131331-68024ffb8aaf7.png\" \/><\/p>\n<p>\u8f93\u5165Y,\u7ee7\u7eed\u6267\u884c\u5b89\u88c5&#xff0c;\u7b49\u5f85ing<\/p>\n<h3 id=\"3.%E9%AA%8C%E8%AF%81%E5%AE%89%E8%A3%85\" style=\"background-color:transparent\">3.\u9a8c\u8bc1\u5b89\u88c5<\/h3>\n<p id=\"\">\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u9a8c\u8bc1Samba\u662f\u5426\u6210\u529f\u5b89\u88c5&#xff1a;<\/p>\n<p>dpkg -l | grep samba <\/p>\n<p>\u6210\u529f\u5b89\u88c5\u5982\u4e0b\u56fe&#xff1a;<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131331-68024ffbd2843.png\" \/><\/p>\n<h2 id=\"%E4%B8%89.%E9%85%8D%E7%BD%AESamba\" style=\"background-color:transparent\">\u4e09.\u914d\u7f6eSamba<\/h2>\n<p id=\"\">\u5b89\u88c5\u5b8cSamba\u540e&#xff0c;\u4f60\u8fd8\u9700\u8981\u8fdb\u884c\u914d\u7f6e\u624d\u80fd\u4f7f\u7528\u5b83\u3002\u8fd9\u5305\u62ec\u8bbe\u7f6e\u5171\u4eab\u76ee\u5f55\u3001\u914d\u7f6e\u8bbf\u95ee\u6743\u9650\u3001\u6dfb\u52a0Samba\u7528\u6237\u7b49\u3002<\/p>\n<\/p>\n<p>\u00a0 \u00a0\u6211\u4eec\u9700\u8981\u5728Samba\u670d\u52a1\u5668\u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684Samba\u7528\u6237,\u7528\u6237\u540d&#xff1a;<span style=\"color:#38d8f0\">zzj <\/span>\u5e76\u8bbe\u7f6e\u5bc6\u7801\u3002\u6253\u5f00\u7ec8\u7aef&#xff0c;\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p> smbpasswd -a zzj <\/p>\n<p>\u00a0\u5982\u4e0b\u56fe\u6240\u793a&#xff1a;<\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131332-68024ffc14fc7.png\" \/><\/p>\n<h3 id=\"2.%E5%88%9B%E5%BB%BA%E5%85%B1%E4%BA%AB%E7%9B%AE%E5%BD%95%E5%92%8C%E6%96%87%E4%BB%B6\">2.\u521b\u5efa\u5171\u4eab\u76ee\u5f55\u548c\u6587\u4ef6<\/h3>\n<h4 id=\"%C2%A0%202.1%20%E5%88%9B%E5%BB%BA%E5%85%B1%E4%BA%AB%E7%9B%AE%E5%BD%95%EF%BC%88abc%EF%BC%89%EF%BC%9A\">\u00a0 2.1 \u521b\u5efa\u5171\u4eab\u76ee\u5f55&#xff08;abc&#xff09;&#xff1a;<\/h4>\n<p>mkdir \/home\/abc <\/p>\n<h4 id=\"2.2%E4%BF%AE%E6%94%B9%E6%9D%83%E9%99%90\">2.2\u4fee\u6539\u6743\u9650<\/h4>\n<p>  chmod 777 \/home\/abc <\/p>\n<h4 id=\"2.3%20%E9%9A%8F%E6%84%8F%E5%86%99%E4%B8%AA%E6%96%87%E4%BB%B6%E5%9C%A8abc%E7%9B%AE%E5%BD%95%E4%B8%AD\">2.3 \u968f\u610f\u5199\u4e2a\u6587\u4ef6\u5728abc\u76ee\u5f55\u4e2d<\/h4>\n<p> echo &#034;hello samba&#034; &gt; \/home\/abc\/file<\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131332-68024ffc26809.png\" \/><\/p>\n<h3 id=\"3.%E4%BF%AE%E6%94%B9%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%C2%A0\" style=\"background-color:transparent\">3.\u4fee\u6539\u670d\u52a1\u5668\u914d\u7f6e\u6587\u4ef6\u00a0<\/h3>\n<h4 id=\"%C2%A03.1%20%E6%89%93%E5%BC%80%E7%BB%88%E7%AB%AF%EF%BC%8C%E8%BE%93%E5%85%A5%E4%BB%A5%E4%B8%8B%E5%91%BD%E4%BB%A4%EF%BC%9A\">\u00a03.1 \u6253\u5f00\u7ec8\u7aef&#xff0c;\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/h4>\n<p>vi \/etc\/samba\/smb.conf <\/p>\n<h4 id=\"3.2%20%E6%B7%BB%E5%8A%A0%E4%BB%A5%E4%B8%8B%E9%85%8D%E7%BD%AE%E4%BF%A1%E6%81%AF%EF%BC%9A\">3.2 \u6dfb\u52a0\u4ee5\u4e0b\u914d\u7f6e\u4fe1\u606f&#xff1a;<\/h4>\n<p>[share]<br \/>\ncomment &#061; samba with web static server<br \/>\npath &#061; \/home\/abc<br \/>\nbrowseable &#061; yes<br \/>\nwriteable &#061; yes<br \/>\navailable &#061; yes<br \/>\npublic &#061; yes<br \/>\nvalid users &#061; zzj <\/p>\n<p>\u8bb0\u5f97\u5b58\u76d8\u540e\u9000\u51fa<\/p>\n<h3 id=\"4.%E9%87%8D%E5%90%AFsamba%E6%9C%8D%E5%8A%A1%EF%BC%8C%E6%9F%A5%E7%9C%8B%E5%85%B6%E7%8A%B6%E6%80%81\">4.\u91cd\u542fsamba\u670d\u52a1&#xff0c;\u67e5\u770b\u5176\u72b6\u6001<\/h3>\n<p>\u4fee\u6539\u5b8c\u914d\u7f6e\u6587\u4ef6\u540e&#xff0c;\u6211\u4eec\u9700\u8981\u91cd\u542fsamba\u670d\u52a1\u3002\u6253\u5f00\u7ec8\u7aef&#xff0c;\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p> \/etc\/init.d\/smbd restart<br \/>\n \/etc\/init.d\/smbd status<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131332-68024ffc3ba69.png\" \/><\/p>\n<h2 id=\"%E2%80%8B%E7%BC%96%E8%BE%91\" style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131332-68024ffc551aa.png\" \/><\/h2>\n<h2 id=\"%E5%9B%9B.%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%AE%BF%E9%97%AEsamba%C2%A0\">\u56db.\u5ba2\u6237\u7aef\u8bbf\u95eesamba\u00a0<\/h2>\n<p>\u5ba2\u6237\u7aef\u4f7f\u7528\u7684\u7cfb\u7edf&#xff1a;<span style=\"color:#38d8f0\">Windows 11 \u4e13\u4e1a\u7248<\/span><\/p>\n<h3 id=\"1.%E6%8C%89%E4%B8%8Bwin%2Br%EF%BC%8C%E8%BE%93%E5%85%A5%E4%BB%A5%E4%B8%8B%E5%86%85%E5%AE%B9\">1.\u6309\u4e0bwin&#043;r&#xff0c;\u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9<\/h3>\n<p>\\\\\\\\samba\u7684IP\u5730\u5740 <\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131332-68024ffc9c560.png\" \/><\/p>\n<h3>2.\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801<\/h3>\n<p>\u7528\u6237\u540d\u6b63\u662f\u524d\u9762\u6dfb\u52a0\u7684Samba\u7528\u6237&#xff0c;\u5982<span style=\"color:#38d8f0\">zzj<\/span>\u3002\u5bc6\u7801\u540c\u7406\u3002<\/p>\n<h3>3.\u67e5\u770b\u6587\u4ef6<\/h3>\n<p>\u5982\u4e0b\u56fe&#xff0c;\u53ef\u4ee5\u770b\u5230\u5728samba\u670d\u52a1\u5668\u521b\u5efa\u7684file\u6587\u4ef6\u6210\u529f\u5171\u4eab\u5230\u5ba2\u6237\u7aefwindows\u7cfb\u7edf\u4e0a\u3002<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131332-68024ffcafd24.png\" \/><\/p>\n<h3>\u00a04.\u6587\u4ef6\u540c\u6b65\u4e92\u8bbf<\/h3>\n<li>Windows\u8bbf\u95eeLinux\u5171\u4eab&#xff1a;\u5728Windows\u7cfb\u7edf\u4e0a&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u6587\u4ef6\u8d44\u6e90\u7ba1\u7406\u5668\u8bbf\u95eeLinux\u7cfb\u7edf\u4e0a\u7684\u5171\u4eab\u6587\u4ef6\u5939\u3002\u8f93\u5165Linux\u7cfb\u7edf\u7684IP\u5730\u5740\u548c\u5171\u4eab\u6587\u4ef6\u5939\u7684\u540d\u79f0&#xff08;\u4f8b\u5982&#xff0c;\\\\\\\\192.168.1.100\\\\shared&#xff09;&#xff0c;\u7136\u540e\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002<\/li>\n<li>Linux\u8bbf\u95eeWindows\u5171\u4eab&#xff1a;\u5728Linux\u7cfb\u7edf\u4e0a&#xff0c;\u53ef\u4ee5\u4f7f\u7528smbclient\u547d\u4ee4\u6216\u6587\u4ef6\u7ba1\u7406\u5668\u6765\u8bbf\u95eeWindows\u7cfb\u7edf\u4e0a\u7684\u5171\u4eab\u6587\u4ef6\u5939\u3002\u4f8b\u5982&#xff0c;\u53ef\u4ee5\u4f7f\u7528smbclient \/\/windows_computer_name\/shared\u547d\u4ee4\u6765\u5217\u51fa\u5171\u4eab\u7684\u6587\u4ef6\u548c\u6587\u4ef6\u5939&#xff0c;\u5e76\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002\u53e6\u5916&#xff0c;\u4e5f\u53ef\u4ee5\u4f7f\u7528mount -t cifs\u547d\u4ee4\u5c06Windows\u5171\u4eab\u6587\u4ef6\u5939\u6302\u8f7d\u5230Linux\u7cfb\u7edf\u7684\u672c\u5730\u76ee\u5f55\u4e0a\u3002<\/li>\n<p>\u524d\u9762\u6211\u4eec\u5728samba\u670d\u52a1\u7aef\u521b\u5efa\u4e86\u5171\u4eab\u6587\u4ef6file&#xff0c;\u7528Windows\u5ba2\u6237\u7aef\u6210\u529f\u8fde\u63a5samba\u670d\u52a1\u5668\u5e76\u8bbf\u95ee\u8be5\u5171\u4eab\u6587\u4ef6\u3002\u73b0\u5728&#xff0c;\u6d4b\u8bd5Linux\u548cWindows\u540c\u6b65\u4e92\u8bbf<\/p>\n<h4>4.1Linux\u8bbfWindows<\/h4>\n<p>\u5728\u5ba2\u6237\u7aef\u6dfb\u52a0new.txt\u6587\u4ef6<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131332-68024ffcf2b36.png\" \/><\/p>\n<p>\u7528\u670d\u52a1\u7aef\u67e5\u770b\u662f\u5426\u540c\u6b65<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131333-68024ffd1d3ff.png\" \/><\/p>\n<h4>4.2Windows\u8bbfLinux<\/h4>\n<p>\u5728\u670d\u52a1\u7aef\u6dfb\u52a0file1\u6587\u4ef6<\/p>\n<p>echo &#034;hello,file1&#034; &gt; \/home\/abc\/file1 <\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131333-68024ffd2d4a4.png\" \/><\/p>\n<p>\u7528\u5ba2\u6237\u7aef\u67e5\u770b\u662f\u5426\u540c\u6b65<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131333-68024ffd4131b.png\" \/><\/p>\n<h2>\u4e94.\u603b\u7ed3\u00a0<\/h2>\n<p>\u901a\u8fc7Samba&#xff0c;Linux\u7cfb\u7edf\u53ef\u4ee5\u5145\u5f53\u5171\u4eab\u670d\u52a1\u5668&#xff0c;\u5411Windows\u7cfb\u7edf\u63d0\u4f9b\u5171\u4eab\u6587\u4ef6&#xff0c;\u540c\u65f6\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u5ba2\u6237\u673a\u8bbf\u95eeWindows\u6216\u5176\u4ed6Linux\u7684Samba\u670d\u52a1\u5668\u4e0a\u7684\u5171\u4eab\u6587\u4ef6\u7cfb\u7edf\u3002\u53ef\u4ee5\u8bf4&#xff0c;Samba\u670d\u52a1\u5668\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\u8d77\u5230\u4e86\u6865\u6881\u7684\u4f5c\u7528&#xff0c;\u4f7f\u5f97\u4e24\u4e2a\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\u7684\u8d44\u6e90\u5171\u4eab\u53d8\u5f97\u66f4\u52a0\u65b9\u4fbf\u548c\u9ad8\u6548\u3002<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.1k\u6b21\uff0c\u70b9\u8d5e29\u6b21\uff0c\u6536\u85cf21\u6b21\u3002\u901a\u8fc7Samba\uff0cLinux\u7cfb\u7edf\u53ef\u4ee5\u5145\u5f53\u5171\u4eab\u670d\u52a1\u5668\uff0c\u5411Windows\u7cfb\u7edf\u63d0\u4f9b\u5171\u4eab\u6587\u4ef6\uff0c\u540c\u65f6\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u5ba2\u6237\u673a\u8bbf\u95eeWindows\u6216\u5176\u4ed6Linux\u7684Samba\u670d\u52a1\u5668\u4e0a\u7684\u5171\u4eab\u6587\u4ef6\u7cfb\u7edf\u3002\u53ef\u4ee5\u8bf4\uff0cSamba\u670d\u52a1\u5668\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\u8d77\u5230\u4e86\u6865\u6881\u7684\u4f5c\u7528\uff0c\u4f7f\u5f97\u4e24\u4e2a\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\u7684\u8d44\u6e90\u5171\u4eab\u53d8\u5f97\u66f4\u52a0\u65b9\u4fbf\u548c\u9ad8\u6548\u3002_windows\u8bbf\u95eesamba<\/p>\n","protected":false},"author":2,"featured_media":14490,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,913,149,43],"topic":[],"class_list":["post-14503","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-linuxanddocker","tag-windows","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Samba\u670d\u52a1\u5668\u5b9e\u73b0Linux\u548cWindows\u4e92\u8bbf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/14503.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Samba\u670d\u52a1\u5668\u5b9e\u73b0Linux\u548cWindows\u4e92\u8bbf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.1k\u6b21\uff0c\u70b9\u8d5e29\u6b21\uff0c\u6536\u85cf21\u6b21\u3002\u901a\u8fc7Samba\uff0cLinux\u7cfb\u7edf\u53ef\u4ee5\u5145\u5f53\u5171\u4eab\u670d\u52a1\u5668\uff0c\u5411Windows\u7cfb\u7edf\u63d0\u4f9b\u5171\u4eab\u6587\u4ef6\uff0c\u540c\u65f6\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u5ba2\u6237\u673a\u8bbf\u95eeWindows\u6216\u5176\u4ed6Linux\u7684Samba\u670d\u52a1\u5668\u4e0a\u7684\u5171\u4eab\u6587\u4ef6\u7cfb\u7edf\u3002\u53ef\u4ee5\u8bf4\uff0cSamba\u670d\u52a1\u5668\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\u8d77\u5230\u4e86\u6865\u6881\u7684\u4f5c\u7528\uff0c\u4f7f\u5f97\u4e24\u4e2a\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\u7684\u8d44\u6e90\u5171\u4eab\u53d8\u5f97\u66f4\u52a0\u65b9\u4fbf\u548c\u9ad8\u6548\u3002_windows\u8bbf\u95eesamba\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/14503.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T13:13:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131331-68024ffb52cb5.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/14503.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/14503.html\",\"name\":\"Samba\u670d\u52a1\u5668\u5b9e\u73b0Linux\u548cWindows\u4e92\u8bbf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T13:13:34+00:00\",\"dateModified\":\"2025-04-18T13:13:34+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/14503.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/14503.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/14503.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Samba\u670d\u52a1\u5668\u5b9e\u73b0Linux\u548cWindows\u4e92\u8bbf\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Samba\u670d\u52a1\u5668\u5b9e\u73b0Linux\u548cWindows\u4e92\u8bbf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/14503.html","og_locale":"zh_CN","og_type":"article","og_title":"Samba\u670d\u52a1\u5668\u5b9e\u73b0Linux\u548cWindows\u4e92\u8bbf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.1k\u6b21\uff0c\u70b9\u8d5e29\u6b21\uff0c\u6536\u85cf21\u6b21\u3002\u901a\u8fc7Samba\uff0cLinux\u7cfb\u7edf\u53ef\u4ee5\u5145\u5f53\u5171\u4eab\u670d\u52a1\u5668\uff0c\u5411Windows\u7cfb\u7edf\u63d0\u4f9b\u5171\u4eab\u6587\u4ef6\uff0c\u540c\u65f6\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u5ba2\u6237\u673a\u8bbf\u95eeWindows\u6216\u5176\u4ed6Linux\u7684Samba\u670d\u52a1\u5668\u4e0a\u7684\u5171\u4eab\u6587\u4ef6\u7cfb\u7edf\u3002\u53ef\u4ee5\u8bf4\uff0cSamba\u670d\u52a1\u5668\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\u8d77\u5230\u4e86\u6865\u6881\u7684\u4f5c\u7528\uff0c\u4f7f\u5f97\u4e24\u4e2a\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\u7684\u8d44\u6e90\u5171\u4eab\u53d8\u5f97\u66f4\u52a0\u65b9\u4fbf\u548c\u9ad8\u6548\u3002_windows\u8bbf\u95eesamba","og_url":"https:\/\/www.wsisp.com\/helps\/14503.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T13:13:34+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131331-68024ffb52cb5.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/14503.html","url":"https:\/\/www.wsisp.com\/helps\/14503.html","name":"Samba\u670d\u52a1\u5668\u5b9e\u73b0Linux\u548cWindows\u4e92\u8bbf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T13:13:34+00:00","dateModified":"2025-04-18T13:13:34+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/14503.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/14503.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/14503.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Samba\u670d\u52a1\u5668\u5b9e\u73b0Linux\u548cWindows\u4e92\u8bbf"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/14503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=14503"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/14503\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/14490"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=14503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=14503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=14503"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=14503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}