{"id":1047,"date":"2022-06-12T03:49:54","date_gmt":"2022-06-12T03:49:54","guid":{"rendered":"https:\/\/262235.xyz\/?p=1047"},"modified":"2022-06-12T03:49:54","modified_gmt":"2022-06-12T03:49:54","slug":"1047","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2022\/06\/12\/1047\/","title":{"rendered":"\u89e3\u51b3Windows 10 \/ 11 \u8bbf\u95ee\u5c40\u57df\u7f51samba\u6587\u4ef6\u670d\u52a1\u5668"},"content":{"rendered":"<h2>\u5bb6\u91cc\u5c40\u57df\u7f51\u67093\u4e2asamba\u670d\u52a1\u5668<\/h2>\n<ul>\n<li>\n<ol>\n<li>\u73a9\u5ba2\u4e91 \u5f00\u542fsamba \u4e3a\u4e86 windows 10\u5171\u4eab\uff0c\u5f00\u542f\u4e86\u5bc6\u7801<\/li>\n<\/ol>\n<\/li>\n<li>\n<ol start=\"2\">\n<li>\u624b\u673aOPPO \u641e\u7684 linux\u73a9\uff0c\u4f7f\u7528\u7f51\u4e0a\u590d\u5236\u7684 samba \u914d\u7f6e\uff0c\u4e0d\u7528\u5bc6\u7801\u767b\u9646<\/li>\n<\/ol>\n<\/li>\n<li>\n<ol start=\"3\">\n<li>\u9999\u6a59\u6d3e \u5b89\u88c5 Linux \u548c samba \u670d\u52a1\uff0c\u4f7f\u7528\u9ed8\u8ba4\u914d\u7f6e\uff0c\u81ea\u5df1\u4e0d\u77e5\u9053\u600e\u4e48\u6539\u6210\u52a0\u5bc6\u767b\u9646<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<h3>\u73b0\u5728 Windows 10 \/ 11 \u8bbf\u95ee\u9999\u6a59\u6d3e\u3002\u4f7f\u7528\u624b\u673a\u5b89\u88c5\u7684samba\u7684\u914d\u7f6e\uff0c\u4e0d\u4f1a\u63d0\u793a\u6211\u8f93\u5165\u5bc6\u7801\u3002<\/h3>\n<h2>cat \/etc\/samba\/smb.conf<\/h2>\n<pre><code>[global]\n   workgroup = WORKGROUP\n   max log size = 1000\n   logging = file\n   panic action = \/usr\/share\/samba\/panic-action %d\n   server role = standalone server\n   obey pam restrictions = yes\n   unix password sync = yes\n\n   passwd program = \/usr\/bin\/passwd %u\n   passwd chat = *Entersnews*spassword:* %n\n *Retypesnews*spassword:* %n\n *passwordsupdatedssuccessfully* .\n\n   pam password change = yes\n   map to guest = bad user\n   usershare allow guests = yes\n\n[homes]\n   comment = Home Directories\n   browseable = no\n   read only = yes\n   create mask = 0700\n   directory mask = 0700\n   valid users = %S\n\n[www]\n   comment = Network Logon Service\n   path = \/home\/samba\/\n   guest ok = yes\n   read only = no<\/code><\/pre>\n<h2>Windows \u7aef\u6309\u4e0b\u9762\u6587\u7ae0\u8bbe\u7f6e<\/h2>\n<h3><a href=\"https:\/\/lyvba.com\/index.php\/archives\/691\/\">Windows10 21h2 LTSC \u4f01\u4e1a\u7248\u65e0\u6cd5\u8bbf\u95eesamba\u7f51\u7edc\u5171\u4eab\u95ee\u9898\u53ca\u89e3\u51b3\uff01<\/a><\/h3>\n<h3><a href=\"https:\/\/lyvba.com\/index.php\/archives\/691\/\">https:\/\/lyvba.com\/index.php\/archives\/691\/<\/a><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>\u5bb6\u91cc\u5c40\u57df\u7f51\u67093\u4e2asamba\u670d\u52a1\u5668 \u73a9\u5ba2\u4e91 \u5f00\u542fsamba \u4e3a\u4e86 windows 10\u5171\u4eab\uff0c\u5f00\u542f\u4e86\u5bc6\u7801 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[16],"class_list":["post-1047","post","type-post","status-publish","format-standard","hentry","category-linux","tag-nas"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/1047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=1047"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/1047\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=1047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=1047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=1047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}