{"id":43745,"date":"2025-06-14T18:16:16","date_gmt":"2025-06-14T10:16:16","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/43745.html"},"modified":"2025-06-14T18:16:16","modified_gmt":"2025-06-14T10:16:16","slug":"openwrt-%e6%90%ad%e5%bb%ba-samba-%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%9a%84%e6%96%b9%e6%b3%95%e5%b9%b6%e8%a7%a3%e5%86%b3-windows-%e4%b8%8d%e5%85%81%e8%ae%b8%e8%ae%bf%e9%97%ae%e5%8c%bf%e5%90%8d%e6%9c%8d","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/43745.html","title":{"rendered":"OpenWrt \u642d\u5efa samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5\u5e76\u89e3\u51b3 Windows \u4e0d\u5141\u8bb8\u8bbf\u95ee\u533f\u540d\u670d\u52a1\u5668(0x80004005\u7684\u9519\u8bef)\u7684\u65b9\u6cd5"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u4e00\u3001\u5b89\u88c5\u6240\u9700\u8981\u7684\u8f6f\u4ef6<\/li>\n<li>\u4e8c\u3001\u914d\u7f6e\u81ea\u52a8\u6302\u8f7d<\/li>\n<li>\u4e09\u3001\u914d\u7f6e Samba \u670d\u52a1\u5668<\/li>\n<li>\u56db\u3001\u914d\u7f6e Samba \u8bbf\u95ee\u7528\u6237\u548c\u5bc6\u7801&#xff08;\u53ef\u9009&#xff09;<\/li>\n<li>\n<ul>\n<li>\u65b0\u5efa Samba \u4e13\u95e8\u7684\u7528\u6237<\/li>\n<li>\u6dfb\u52a0\u65e0\u5bc6\u7801\u7684 Samba \u8d26\u6237<\/li>\n<li>\u4f7f\u7528root\u8d26\u6237<\/li>\n<\/ul>\n<\/li>\n<li>\u4e94\u3001\u89e3\u51b3 Windows \u65e0\u6cd5\u533f\u540d\u8bbf\u95eeSamba<\/li>\n<li>\n<ul>\n<li>\u65b9\u6848\u4e00 \u914d\u7f6e\u65e0\u5bc6\u7801\u7684Samba\u8d26\u6237\u5e76\u542f\u7528\u533f\u540d\u8bbf\u95ee<\/li>\n<li>\u65b9\u6848\u4e8c \u5728\u672c\u5730\u7ec4\u7b56\u7565\u7ec4\u7f16\u8f91\u5668\u4e2d\u542f\u7528\u4e0d\u5b89\u5168\u6765\u5bbe\u767b\u5f55<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>\u4e00\u3001\u5b89\u88c5\u6240\u9700\u8981\u7684\u8f6f\u4ef6<\/h2>\n<p>\u9996\u5148 OpenWrt \u7684\u5b98\u65b9\u6587\u6863\u51fa\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5728 OpenWrt \u642d\u5efa Samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5&#xff1a;https:\/\/openwrt.org\/docs\/guide-user\/services\/nas\/cifs.server<\/p>\n<p>\u9996\u5148&#xff0c;\u5728\u7f16\u8bd1\u7684\u65f6\u5019&#xff0c;\u9700\u8981\u7ed9 \u5185\u6838 \u52fe\u9009\u4e0a\u5bf9 usb \u548c \u6587\u4ef6\u7cfb\u7edf\u7684\u76f8\u5173\u7684\u652f\u6301\u3002<\/p>\n<p>usb \u7684\u6a21\u5757\u6709&#xff1a;<\/p>\n<p>kmod-usb3 kmod-usb-storage-uas usbutils block-mount mount-utils<\/p>\n<p>\u5404\u4e2a\u6a21\u5757\u6240\u5728\u7684\u4f4d\u7f6e\u5982\u4e0b&#xff1a;<\/p>\n<p>Kernel modules &gt; USB Support &gt; kmod-usb3<br \/>\nKernel modules &gt; USB Support &gt; kmod-usb-storage-uas<br \/>\nUtilities &gt; usbutils<br \/>\nBase system &gt; block-mount<br \/>\nUtilities &gt; mount-utils<\/p>\n<p>\u524d\u4e24\u4e2a\u662f\u6700\u57fa\u7840\u7684 USB \u652f\u6301&#xff0c;\u540e\u4e09\u4e2a\u662f\u7528\u4e8e\u81ea\u52a8\u6302\u8f7d USB\u8bbe\u5907 \u7684\u5de5\u5177\u3002<\/p>\n<p>\u6b64\u5904\u63a8\u8350\u5b89\u88c5 Utilities &gt; Disc &gt; fdisk \u5de5\u5177&#xff0c;\u53ef\u7528\u4e8e\u67e5\u770b\u548c\u7ba1\u7406 USB\u8bbe\u5907 \u7684\u5206\u533a\u4fe1\u606f\u3002<\/p>\n<p>\u6587\u4ef6\u7cfb\u7edf\u7684\u6a21\u5757\u6709&#xff1a;<\/p>\n<p>kmod-fs-ext4 kmod-fs-exfat kmod-fs-ntfs3<\/p>\n<p>\u5176\u90fd\u662f\u5728 Kernel modules &gt; Filesystems \u4e0b\u7684\u3002\u5176\u4e2d&#xff0c; kmod-fs-ext4&#xff1a;EXT4 \u6587\u4ef6\u7cfb\u7edf\u652f\u6301 kmod-fs-exfat&#xff1a;exFAT \u548c fat32 \u6587\u4ef6\u7cfb\u7edf\u652f\u6301 kmod-fs-ntfs3&#xff1a;NTFS \u6587\u4ef6\u7cfb\u7edf\u652f\u6301&#xff08; Windows \u9ed8\u8ba4\u7684\u6587\u4ef6\u7cfb\u7edf&#xff09;\u3002\u4e5f\u53ef\u4ee5\u4f7f\u7528 Utilities &gt; Filesystem &gt; ntfs-3g \u542f\u7528 NTFS \u6587\u4ef6\u7cfb\u7edf\u652f\u6301 \u5982\u679c\u6709\u5176\u5b83\u6587\u4ef6\u7cfb\u7edf\u683c\u5f0f&#xff0c;\u5219\u52fe\u9009\u7f16\u8bd1\u5b89\u88c5\u5176\u4ed6\u76f8\u5173\u7684\u9a71\u52a8\u3002<\/p>\n<p>\u6700\u540e&#xff0c;\u52fe\u9009\u5b89\u88c5 luci-app-samba4 \u7684 Luci \u5e94\u7528&#xff0c;\u8fd0\u884c samba4\u3002<\/p>\n<h2>\u4e8c\u3001\u914d\u7f6e\u81ea\u52a8\u6302\u8f7d<\/h2>\n<p>\u7531\u4e8e\u5728 Linux \u4e2d\u6bcf\u4e2a\u78c1\u76d8\u548c\u5206\u533a\u90fd\u9700\u8981\u901a\u8fc7\u6302\u8f7d\u7684\u65b9\u5f0f&#xff0c;\u624d\u80fd\u6b63\u786e\u7684\u8bc6\u522b&#xff0c;\u56e0\u6b64\u6211\u4eec\u63a5\u5165\u4e00\u4e2a u\u76d8 \u4e4b\u540e\u5c31\u9700\u8981\u914d\u7f6e\u4e00\u4e0b&#xff0c;\u5728\u7cfb\u7edf\u4e2d\u5206\u914d\u8def\u5f84\u3002<\/p>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u5728 OpenWrt \u4e2d\u6302\u8f7d&#xff0c;\u5efa\u8bae\u5728\u7535\u8111\u4e0a\u63d0\u524d\u5bf9\u786c\u76d8\u8fdb\u884c\u5206\u533a\u3002<\/p>\n<p>\u7531\u4e8e\u6211\u4eec\u5728\u524d\u9762\u5df2\u7ecf\u5b89\u88c5\u4e86 block-mount \u5de5\u5177&#xff0c;\u90a3\u4e48\u5176\u53ef\u4ee5\u4e3a\u6211\u4eec\u81ea\u52a8\u8bc6\u522b\u6587\u4ef6\u7cfb\u7edf\u7684\u683c\u5f0f\u548c\u8def\u5f84&#xff0c;\u7136\u540e\u81ea\u52a8\u4e3a\u6211\u4eec\u628a\u786c\u76d8\u6302\u8f7d\u5230 \/mnt \u76ee\u5f55\u3002\u6b64\u5de5\u5177\u5728\u540e\u53f0\u7ba1\u7406\u4e2d\u4f4d\u7f6e\u4e3a \u7cfb\u7edf &gt; \u6302\u8f7d\u70b9 &#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250614101607-684d4be762263.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5f53\u6211\u4eec\u5c06 USB\u8bbe\u5907 \u63a5\u5165\u4e4b\u540e&#xff0c;\u70b9\u51fb \u6302\u8f7d\u70b9 \u9875\u9762\u4e2d \u751f\u6210\u914d\u7f6e &#xff0c;\u5728\u70b9\u51fb \u6302\u8f7d\u5df2\u8fde\u63a5\u7684\u8bbe\u5907&#xff0c;\u6b64\u65f6\u5c31\u4f1a\u81ea\u52a8\u5c06\u7cfb\u7edf\u652f\u6301\u7684\u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d\u5230\u4e86 \/mnt \u76ee\u5f55\u4e0b\u4e86\u3002\u6ce8\u610f&#xff1a;\u751f\u6210\u7684\u914d\u7f6e\u9700\u8981\u70b9\u51fb\u4fdd\u5b58\u4e4b\u540e\u624d\u80fd\u6c38\u4e45\u751f\u6548 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250614101608-684d4be884175.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u6b64\u65f6\u5c31\u53ef\u4ee5\u5728 \u6302\u8f7d\u70b9 \u4e2d\u770b\u5230\u63a5\u5165\u7684 USB\u8bbe\u5907 \u4e86\u3002\u53ef\u70b9\u51fb\u7f16\u8f91 &#xff0c;\u5b9e\u73b0\u4fee\u6539\u5b83\u7684\u6302\u8f7d\u53c2\u6570\u3002<\/p>\n<p>\u5982\u679c\u81ea\u52a8\u6302\u8f7d\u627e\u4e0d\u5230\u81ea\u5df1\u7684\u786c\u76d8\u6216\u8005\u5206\u533a&#xff0c;\u9700\u8981\u68c0\u67e5\u5728\u7b2c\u4e00\u6b65\u662f\u5426\u5728\u5185\u6838\u4e2d\u5b89\u88c5\u4e86\u76f8\u5173\u6587\u4ef6\u7cfb\u7edf\u7684\u652f\u6301\u3002<\/p>\n<h2>\u4e09\u3001\u914d\u7f6e Samba \u670d\u52a1\u5668<\/h2>\n<p>\u5728 Luci \u7ba1\u7406\u9875\u9762 \u4e2d \u6253\u5f00 \u670d\u52a1 &gt; \u7f51\u7edc\u5171\u4eab \u754c\u9762\u8fdb\u884c\u914d\u7f6eSamba \u670d\u52a1\u5668\u3002<\/p>\n<p>\u5bf9\u4e8e\u5e38\u89c4\u8bbe\u7f6e\u6765\u8bf4&#xff0c;\u53ea\u9700\u8981\u6309\u9700\u542f\u7528\u5373\u53ef&#xff0c;\u4e0d\u4f1a\u5f71\u54cd\u6574\u4f53\u529f\u80fd\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250614101609-684d4be9a68cc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u968f\u540e\u5728 \u5171\u4eab\u76ee\u5f55 \u6dfb\u52a0\u786c\u76d8\u7684\u6302\u8f7d\u8def\u5f84&#xff0c;\u8fdb\u884c\u914d\u7f6e\u5171\u4eab\u786c\u76d8\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250614101610-684d4beace23a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5982\u679c\u8ba1\u5212\u65e0\u9700\u767b\u5f55\u5373\u53ef\u4f7f\u7528&#xff0c;\u5219\u53ef\u4ee5\u52fe\u9009 \u5141\u8bb8\u533f\u540d\u7528\u6237&#xff0c;\u5426\u5219\u5bf9\u4e8e\u8bbe\u5907\u8bbf\u95ee\u6765\u8bf4\u5c31\u9700\u8981\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002<\/p>\n<h2>\u56db\u3001\u914d\u7f6e Samba \u8bbf\u95ee\u7528\u6237\u548c\u5bc6\u7801&#xff08;\u53ef\u9009&#xff09;<\/h2>\n<p>\u8fd9\u4e00\u6b65\u662f\u53ef\u9009\u7684&#xff0c;\u5bf9\u4e8e\u5bb6\u5ead Samba \u6765\u8bf4&#xff0c;\u5982\u679c\u80fd\u786e\u4fdd\u6570\u636e\u5b89\u5168&#xff0c;\u5219\u53ef\u4ee5\u76f4\u63a5\u52fe\u9009 \u5141\u8bb8\u533f\u540d\u7528\u6237&#xff0c;\u65e0\u9700\u914d\u7f6e\u7528\u6237\u548c\u5bc6\u7801\u3002\u4f46\u662f&#xff0c;\u5728\u67d0\u4e9b\u8bbe\u5907\u4e0a&#xff0c;\u5904\u4e8e\u5b89\u5168\u6027\u8003\u8651&#xff0c;\u662f\u4e0d\u5141\u8bb8 \u533f\u540d\u8bbf\u95ee \u6a21\u5f0f&#xff0c;\u4f8b\u5982Windows&#xff0c;\u9ed8\u8ba4\u4e0d\u542f\u7528 \u533f\u540d\u8bbf\u95ee&#xff0c;\u4f46\u53ef\u5728\u7b56\u7565\u7ec4\u4fee\u6539\u8fd9\u4e00\u884c\u4e3a&#xff08;\u540e\u6587\u4ecb\u7ecd&#xff09;\u3002<\/p>\n<h3>\u65b0\u5efa Samba \u4e13\u95e8\u7684\u7528\u6237<\/h3>\n<p>samba \u4f7f\u7528\u7684\u7528\u6237\u540d\u5373\u4e3a\u7cfb\u7edf\u4e2d\u7684\u7528\u6237\u540d&#xff0c;\u4f46\u4e3a\u4e86\u4fdd\u8bc1\u7cfb\u7edf\u7684\u5b89\u5168&#xff0c;samba \u4e2d\u4f7f\u7528\u7684\u5bc6\u7801\u548c\u7ba1\u7406\u5458\u5bc6\u7801\u5c31\u4e0d\u76f8\u540c\u7684&#xff0c;\u9700\u8981\u5206\u522b\u72ec\u7acb\u8bbe\u7f6e\u3002<\/p>\n<p>\u9996\u5148\u53ef\u4ee5\u4f7f\u7528 useradd \u547d\u4ee4\u6dfb\u52a0\u4e00\u4e2a samba \u7684\u4e13\u95e8\u7528\u6237&#xff0c;\u5982\u679c\u6ca1\u6709 useradd \u547d\u4ee4&#xff0c;\u5219\u9700\u8981\u5148\u5b89\u88c5 shadow-useradd\u5e94\u7528\u3002\u4e3a\u4e86\u4fdd\u8bc1\u6570\u636e\u5b89\u5168&#xff0c;\u6b64\u7528\u6237\u65e0\u76ee\u5f55\u548c\u7981\u6b62\u767b\u9646 shell\u3002<\/p>\n<p><span class=\"token comment\"># \u521b\u5efa\u7528\u6237&#xff08;\u65e0\u5bb6\u76ee\u5f55&#xff0c;\u7981\u6b62\u767b\u5f55&#xff09;<\/span><br \/>\n<span class=\"token function\">useradd<\/span> <span class=\"token parameter variable\">-M<\/span> <span class=\"token parameter variable\">-s<\/span> \/bin\/false smbuser  <\/p>\n<p>\u968f\u540e\u53ef\u4ee5\u4f7f\u7528 smbpasswd  \u547d\u4ee4\u8bbe\u7f6eSamba \u5bc6\u7801&#xff0c;\u968f\u540e\u8f93\u5165\u4e24\u6b21\u76f8\u540c\u7684\u5bc6\u7801\u5373\u53ef<\/p>\n<p> <span class=\"token comment\"># \u8bbe\u7f6e Samba \u5bc6\u7801<\/span><br \/>\nsmbpasswd <span class=\"token parameter variable\">-a<\/span> smbuser<\/p>\n<p>\u81f3\u6b64\u5c31\u5b8c\u6210\u4e86\u6dfb\u52a0 samba \u4e13\u95e8\u7684\u8d26\u6237&#xff0c;\u5728\u5ba2\u6237\u7aef\u767b\u5f55\u65f6&#xff0c;\u4f7f\u7528\u6b64\u7528\u6237\u540d\u548c\u5bc6\u7801\u5373\u53ef\u3002<\/p>\n<h3>\u6dfb\u52a0\u65e0\u5bc6\u7801\u7684 Samba \u8d26\u6237<\/h3>\n<p>Samba \u652f\u6301\u65e0\u5bc6\u7801\u7684\u7528\u6237&#xff0c;\u53ea\u9700\u8981\u5728\u8bbe\u7f6e\u5bc6\u7801\u7684\u65f6\u5019&#xff0c;\u4e0d\u8f93\u5165\u4efb\u4f55\u5b57\u7b26&#xff0c;\u8fde\u7eed\u6309\u4e24\u6b21\u56de\u8f66\u5373\u53ef\u3002 \u540c\u65f6&#xff0c;\u9700\u8981\u786e\u4fdd\u5728 samba \u914d\u7f6e\u7684\u6a21\u677f \u4e2d\u6709 null passwords &#061; yes \u7684\u914d\u7f6e\u9879 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250614101611-684d4bebdb126.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u4f7f\u7528root\u8d26\u6237<\/h3>\n<p>\u5904\u4e8e\u5b89\u5168\u8003\u8651&#xff0c;Samba \u9ed8\u8ba4\u4e0d\u4f1a\u4f7f\u7528 root \u7528\u6237&#xff0c;\u5982\u679c\u9700\u8981\u542f\u7528&#xff0c;\u5219\u9700\u8981\u5728\u6a21\u677f\u4ee3\u7801\u4e2d&#xff0c;invalid users \u914d\u7f6e\u9879\u4e2d\u4e0d\u5305\u542broot&#xff0c;\u6216\u76f4\u63a5\u6ce8\u91ca\u6389\u6b64\u914d\u7f6e\u9879\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250614101613-684d4bed0eb6c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4e94\u3001\u89e3\u51b3 Windows \u65e0\u6cd5\u533f\u540d\u8bbf\u95eeSamba<\/h2>\n<p>\u51fa\u4e8e\u5b89\u5168\u8003\u8651&#xff0c;Windows \u9ed8\u8ba4\u5c4f\u853d\u4e86 \u533f\u540d\u8bbf\u95ee \u7684\u80fd\u529b&#xff0c;\u6b64\u65f6\u4f1a\u63d0\u793a&#xff1a;\u4f60\u4e0d\u80fd\u8bbf\u95ee\u6b64\u5171\u4eab\u6587\u4ef6\u5939 \u56e0\u4e3a\u4f60\u7ec4\u7ec7\u7684\u5b89\u5168\u7b56\u7565\u963b\u6b63\u6b62\u672a\u7ecf\u8eab\u4efd\u9a8c\u8bc1\u7684\u6765\u5bbe\u8bbf\u3002 \u8fd9\u4e9b\u7b56\u7565\u53ef\u5e2e\u52a9\u4fdd\u62a4\u4f60\u7684\u7535\u8111\u514d\u53d7\u7f51\u7edc\u4e0a\u4e0d\u5b89\u5168\u8bbe\u5907\u6216\u6076\u610f\u8bbe\u5907\u7684\u5a01\u80c1\u3002\u8fd9\u91cc\u53ef\u80fd\u4f1a\u51fa\u73b00x80004005\u7684\u9519\u8bef <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250614101614-684d4bee44b58.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8fd9\u91cc\u7ed9\u51fa\u4e24\u4e2a\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<h3>\u65b9\u6848\u4e00 \u914d\u7f6e\u65e0\u5bc6\u7801\u7684Samba\u8d26\u6237\u5e76\u542f\u7528\u533f\u540d\u8bbf\u95ee<\/h3>\n<p>\u4e3a\u4e86\u907f\u514d Windows \u65e0\u6cd5\u533f\u540d\u8bbf\u95ee&#xff0c;\u6211\u4eec\u53ef\u4ee5\u4e13\u95e8\u4e3a Samba \u5efa\u7acb\u4e00\u4e2a\u65e0\u5bc6\u7801\u7684\u8d26\u6237&#xff0c;\u5728 Windows \u767b\u5f55\u65f6\u4f7f\u7528\u6b64\u7528\u6237\u540d\u8fdb\u884c\u767b\u5f55\u5373\u53ef\u3002\u540c\u65f6\u5728 Samba \u914d\u7f6e\u65f6\u4e5f \u542f\u7528\u533f\u540d\u8bbf\u95ee&#xff0c;\u5176\u4ed6\u8bbe\u5907\u5219\u53ef\u4ee5\u76f4\u63a5\u533f\u540d\u8bbf\u95ee&#xff0c;\u800c\u65e0\u9700\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002<\/p>\n<h3>\u65b9\u6848\u4e8c \u5728\u672c\u5730\u7ec4\u7b56\u7565\u7ec4\u7f16\u8f91\u5668\u4e2d\u542f\u7528\u4e0d\u5b89\u5168\u6765\u5bbe\u767b\u5f55<\/h3>\n<p>\u5bf9\u4e8e \u4e13\u4e1a\u7248 \u6216 \u4f01\u4e1a\u7248 \u7684 Windows \u6765\u8bf4&#xff0c;\u5176\u652f\u6301\u7ba1\u7406\u7ec4\u7b56\u7565&#xff08;Win &#043; R \u4e2d\u8f93\u5165 gpedit.msc \u6253\u5f00 \u672c\u5730\u7ec4\u7b56\u7565\u7ec4\u7f16\u8f91\u5668&#xff09;&#xff0c;\u56e0\u6b64\u53ef\u4ee5 \u542f\u7528\u4e0d\u5b89\u5168\u6765\u5bbe\u767b\u5f55 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250614101614-684d4bee7bf0a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5176\u4f4d\u7f6e\u5728 \u8ba1\u7b97\u673a\u914d\u7f6e &gt; \u7ba1\u7406\u6a21\u677f &gt; \u7f51\u7edc &gt; Lanman\u5de5\u4f5c\u7ad9 &gt; \u542f\u7528\u4e0d\u5b89\u5168\u6765\u5bbe\u767b\u5f55&#xff0c;\u5c06\u5176\u4fee\u6539\u4e3a \u5df2\u542f\u7528 \u5373\u53ef\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250614101614-684d4bee9b8e8.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u4f46\u662f\u6b64\u65b9\u6cd5\u6709\u660e\u663e\u7684\u7f3a\u9677&#xff0c;\u5c31\u662f\u5bf9\u4e8e\u5bb6\u5ead\u7248\u7684 Windows \u6765\u8bf4\u4e0d\u80fd\u76f4\u63a5\u4fee\u6539\u7b56\u7565\u7ec4&#xff0c;\u540c\u65f6\u5982\u679c\u6709\u591a\u53f0\u8bbe\u5907&#xff0c;\u5c31\u9700\u8981\u914d\u7f6e\u591a\u6b21&#xff0c;\u56e0\u6b64\u5efa\u8bae\u4f7f\u7528\u65b9\u6848\u4e00\u6765\u89e3\u51b3 Windows \u4e0d\u80fd \u533f\u540d\u8bbf\u95ee \u7684\u95ee\u9898<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u672c\u6587\u4f9d\u636e\u5b98\u65b9\u6587\u6863 \u8be6\u7ec6\u4ecb\u7ecdOpenWrt \u642d\u5efa samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5\uff0c\u5e76\u89e3\u51b3 Windows \u4e0d\u5141\u8bb8\u8bbf\u95ee\u533f\u540d\u670d\u52a1\u5668\u7684\u65b9\u6cd5_openwrt samba<\/p>\n","protected":false},"author":2,"featured_media":43736,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[149,167,43,124,44],"topic":[],"class_list":["post-43745","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-windows","tag-167","tag-43","tag-124","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OpenWrt \u642d\u5efa samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5\u5e76\u89e3\u51b3 Windows \u4e0d\u5141\u8bb8\u8bbf\u95ee\u533f\u540d\u670d\u52a1\u5668(0x80004005\u7684\u9519\u8bef)\u7684\u65b9\u6cd5 - \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\/43745.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OpenWrt \u642d\u5efa samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5\u5e76\u89e3\u51b3 Windows \u4e0d\u5141\u8bb8\u8bbf\u95ee\u533f\u540d\u670d\u52a1\u5668(0x80004005\u7684\u9519\u8bef)\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u672c\u6587\u4f9d\u636e\u5b98\u65b9\u6587\u6863 \u8be6\u7ec6\u4ecb\u7ecdOpenWrt \u642d\u5efa samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5\uff0c\u5e76\u89e3\u51b3 Windows \u4e0d\u5141\u8bb8\u8bbf\u95ee\u533f\u540d\u670d\u52a1\u5668\u7684\u65b9\u6cd5_openwrt samba\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/43745.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-14T10:16:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250614101607-684d4be762263.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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/43745.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/43745.html\",\"name\":\"OpenWrt \u642d\u5efa samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5\u5e76\u89e3\u51b3 Windows \u4e0d\u5141\u8bb8\u8bbf\u95ee\u533f\u540d\u670d\u52a1\u5668(0x80004005\u7684\u9519\u8bef)\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-06-14T10:16:16+00:00\",\"dateModified\":\"2025-06-14T10:16:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/43745.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/43745.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/43745.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenWrt \u642d\u5efa samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5\u5e76\u89e3\u51b3 Windows \u4e0d\u5141\u8bb8\u8bbf\u95ee\u533f\u540d\u670d\u52a1\u5668(0x80004005\u7684\u9519\u8bef)\u7684\u65b9\u6cd5\"}]},{\"@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":"OpenWrt \u642d\u5efa samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5\u5e76\u89e3\u51b3 Windows \u4e0d\u5141\u8bb8\u8bbf\u95ee\u533f\u540d\u670d\u52a1\u5668(0x80004005\u7684\u9519\u8bef)\u7684\u65b9\u6cd5 - \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\/43745.html","og_locale":"zh_CN","og_type":"article","og_title":"OpenWrt \u642d\u5efa samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5\u5e76\u89e3\u51b3 Windows \u4e0d\u5141\u8bb8\u8bbf\u95ee\u533f\u540d\u670d\u52a1\u5668(0x80004005\u7684\u9519\u8bef)\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u672c\u6587\u4f9d\u636e\u5b98\u65b9\u6587\u6863 \u8be6\u7ec6\u4ecb\u7ecdOpenWrt \u642d\u5efa samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5\uff0c\u5e76\u89e3\u51b3 Windows \u4e0d\u5141\u8bb8\u8bbf\u95ee\u533f\u540d\u670d\u52a1\u5668\u7684\u65b9\u6cd5_openwrt samba","og_url":"https:\/\/www.wsisp.com\/helps\/43745.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-06-14T10:16:16+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250614101607-684d4be762263.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/43745.html","url":"https:\/\/www.wsisp.com\/helps\/43745.html","name":"OpenWrt \u642d\u5efa samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5\u5e76\u89e3\u51b3 Windows \u4e0d\u5141\u8bb8\u8bbf\u95ee\u533f\u540d\u670d\u52a1\u5668(0x80004005\u7684\u9519\u8bef)\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-06-14T10:16:16+00:00","dateModified":"2025-06-14T10:16:16+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/43745.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/43745.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/43745.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"OpenWrt \u642d\u5efa samba \u670d\u52a1\u5668\u7684\u65b9\u6cd5\u5e76\u89e3\u51b3 Windows \u4e0d\u5141\u8bb8\u8bbf\u95ee\u533f\u540d\u670d\u52a1\u5668(0x80004005\u7684\u9519\u8bef)\u7684\u65b9\u6cd5"}]},{"@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\/43745","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=43745"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/43745\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/43736"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=43745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=43745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=43745"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=43745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}