{"id":1361,"date":"2019-02-09T02:44:19","date_gmt":"2019-02-08T18:44:19","guid":{"rendered":"http:\/\/sashakrasnoyarsk.ru\/?p=1361"},"modified":"2019-02-09T02:44:19","modified_gmt":"2019-02-08T18:44:19","slug":"%d1%80%d0%b0%d0%b1%d0%be%d1%87%d0%b8%d0%b9-%d0%ba%d0%be%d0%bd%d1%84%d0%b8%d0%b3-samba","status":"publish","type":"post","link":"https:\/\/sashakrasnoyarsk.ru\/?p=1361","title":{"rendered":"\u0420\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u043e\u043d\u0444\u0438\u0433 Samba"},"content":{"rendered":"\n<p>\u0427\u0442\u043e-\u0442\u043e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u044d\u0442\u043e\u043c \u043c\u0438\u0440\u0435, \u0438 \u044d\u0442\u043e \u043c\u043d\u0435 \u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f (c).<\/p>\n\n\n\n<p>\u041f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c 4 \u0432\u0435\u0440\u0441\u0438\u044e \u0441\u0430\u043c\u0431\u044b \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u0441 Win XP (\u0434\u0430 \u0445\u043e\u0442\u044c NT) \u0434\u043e Win 10. \u0412\u0437\u044f\u043b\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c&#8230; \u0418 \u0437\u0430\u043c\u0443\u0447\u0438\u043b\u0441\u044f! \u0412\u0441\u0451 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 Samba, \u0441\u0442\u0430\u0440\u044b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442, \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0441 &#171;\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445&#187; \u0433\u0430\u0439\u0434\u043e\u0432 &#8212; \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e. \u0413\u0430\u0434\u043e\u0441\u0442\u044c! \u041d\u0435 \u043b\u044e\u0431\u043b\u044e \u044d\u0442\u043e\u0433\u043e.<\/p>\n\n\n\n<p>\u041a\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u043f\u043e\u0438\u0441\u043a\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0438\u0436\u0435, \u043e\u043d\u043e \u0442\u0430\u043c \u0435\u0441\u0442\u044c. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0443\u0436\u0435 \u0437\u0434\u0435\u0441\u044c, \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438:<\/p>\n\n\n<pre>[global]\n# \u0440\u0430\u0431\u043e\u0447\u0430\u044f \u0433\u0440\u0443\u043f\u043f\u0430 \u0438 \u0438\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430\n\tnetbios name = SERVER\n\tworkgroup = WORKGROUP\n# \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u043e\u0442 \u0438 \u0434\u043e.\n\tclient min protocol = NT1\n\tclient max protocol = SMB3\n# \u0437\u0434\u0435\u0441\u044c \u0431\u0443\u0434\u0435\u0442 \u0436\u0443\u0440\u043d\u0430\u043b \u0438 \u0435\u0433\u043e \u043e\u043f\u0446\u0438\u0438. 2 - \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u0430\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u0430. \u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u0430\u0440\u0430\u043d\u043e\u0438\u043a, \u0441\u0442\u0430\u0432\u044c\u0442\u0435 5 \u0438 \u0431\u043e\u043b\u0435\u0435.\n\tlog file = \/var\/log\/samba\/log.%m\n\tlog level = 2\n\tmax log size = 1000\n\tlogging = file\n# \u0431\u0435\u0437 \u044d\u0442\u043e\u0439 \u0448\u0442\u0443\u043a\u0438 \u044f \u0434\u0430\u0436\u0435 \u043d\u0435 \u0437\u043d\u0430\u044e, \u043a\u0430\u043a \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435:\n\tntlm auth = yes\n# \u0431\u0435\u0437 \u044d\u0442\u043e\u0439 \u0448\u0442\u0443\u043a\u0438 \u0441 \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u0438\u043b\u0438 \u0434\u0438\u0441\u043a\u0430 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0441\u044f:\n\tacl allow execute always = True\n# \u044d\u0442\u0438\u043c \u043c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0441 \u043a\u0430\u043a\u0438\u043c\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u043c\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0444\u0430\u0439\u043b\u044b:\n\tcreate mask = 0664\n\tdirectory mask = 0775\n# \u044d\u0442\u043e \u043a\u0430\u043a-\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043c\u043e\u0447\u044c \u043e\u0442\u043b\u0430\u0434\u043a\u0435. \u041a\u0442\u043e \u0437\u043d\u0430\u0435\u0442, \u0447\u0442\u043e \u043e\u043d\u043e \u0434\u0435\u043b\u0430\u0435\u0442?\n\tpanic action = \/usr\/share\/samba\/panic-action %d\n# \u0441\u0435\u0440\u0432\u0435\u0440 \u0443 \u043c\u0435\u043d\u044f \u0431\u0443\u0434\u0435\u0442 \u043e\u0434\u0438\u043d\u043e\u043a\u043e \u0441\u0442\u043e\u044f\u0449\u0438\u0439. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043d\u0435\u0442 - \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u043b\u043e\u0432\u0430 :)\n\tserver role = standalone server\n\tobey pam restrictions = yes\n# \u044d\u0442\u0430 \u0448\u0442\u0443\u043a\u0430 \u043d\u0443\u0436\u043d\u0430 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043d\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u043b \u043f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0447\u0435\u0440\u0435\u0437 samba\n\tunix password sync = no\n# \u0430 \u044d\u0442\u043e - \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0435\u0433\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0434\u043e \u0438 \u0432\u044b\u0448\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u0435 yes\n\tpasswd program = \/usr\/bin\/passwd %u\n\tpasswd chat = *Enter\\snew\\s*\\spassword:* %n\\n *Retype\\snew\\s*\\spassword:* %n\\n *password\\supdated\\ssuccessfully* .\n# \u044d\u0442\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442 \u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f samba\n\tpam password change = yes\n# \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u044b\u0435 \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u044b \u0431\u0443\u0434\u0435\u043c \u043e\u0442\u0432\u0435\u0440\u0433\u0430\u0442\u044c\n\tmap to guest = bad user\n# \u044d\u0442\u043e \u0441\u0442\u043e\u0438\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c, \u0435\u0441\u043b\u0438 \u043d\u0430\u0434\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0447\u0435\u043c\u0443-\u043b\u0438\u0431\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0431\u0435\u0437 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438\n\tusershare allow guests = yes\n# \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0441\u0443\u0440\u0441\u0430, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0435\u0433\u043e \u0434\u043e\u043c\u0430\u0448\u043d\u044e\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u0435\u043d\u0438\u044f\n[homes]\n\tcomment = Home Directories\n\tbrowseable = no\n\tread only = yes\n\tvalid users = %S\n# \u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0443 \u043d\u0435\u0433\u043e \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u044b\n[printers]\n\tcomment = All Printers\n\tbrowseable = no\n\tpath = \/var\/spool\/samba\n\tprintable = yes\n\tguest ok = no\n\tread only = yes\n\tcreate mask = 0700\n# \u043a\u043b\u0438\u0435\u043d\u0442\u044b Windows \u0431\u0443\u0434\u0443\u0442 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u044e\u0434\u0430 \u0432 \u043f\u043e\u0438\u0441\u043a\u0430\u0445 \u0434\u0440\u043e\u0432\u0438\u0448\u0435\u043a \u0434\u043b\u044f \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u043e\u0432\n[print$]\n\tcomment = Printer Drivers\n\tpath = \/var\/lib\/samba\/printers\n\tbrowseable = yes\n\tread only = yes\n\tguest ok = no\n# \u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u043f\u043e\u043b\u043d\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f username\n[user]\n# \u044d\u0442\u043e \u0435\u0441\u043b\u0438 no, \u0442\u043e \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043d\u044f\u0442\u044c readonly \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u0430\u043b\u0438\u0442\u044c\n        delete readonly = yes\n# \u0441\u043f\u0438\u0441\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0441 \u0440\u0435\u0436\u0438\u043c\u0430\u043c\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430\n        valid users = username\n        write list = username\n# \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0438 \u0433\u0440\u0443\u043f\u043f\u0430, \u0432\u043b\u0430\u0434\u0435\u044e\u0449\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u043c \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435\n        force user = nobody\n        force group = sambashare\n# \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u0430 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435\n\tpath = \/samba\n# \u0434\u043e\u0441\u0442\u0443\u043f \u0433\u043e\u0441\u0442\u044e \u0437\u0430\u043a\u0440\u044b\u0442\n\tguest ok = no\n# \u0440\u0435\u0436\u0438\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \"\u0432\u043e\u043e\u0431\u0449\u0435\"\n\twriteable = yes\n<\/pre>","protected":false},"excerpt":{"rendered":"<p>\u041a\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u043f\u043e\u0438\u0441\u043a\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 Samba, \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0438\u0436\u0435, \u043e\u043d\u043e \u0442\u0430\u043c \u0435\u0441\u0442\u044c <a href=\"https:\/\/sashakrasnoyarsk.ru\/?p=1361\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,61,67,19,6,75,7,8],"tags":[1550,1297,1541,1683],"class_list":["post-1361","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-internet","category-linux-qh","category-linux","category-pc","category-software-linux-qh-qh","category-software","category-unix-and-bsd","tag-debian","tag-samba","tag-windows","tag--samba"],"_links":{"self":[{"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=\/wp\/v2\/posts\/1361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1361"}],"version-history":[{"count":1,"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=\/wp\/v2\/posts\/1361\/revisions"}],"predecessor-version":[{"id":1362,"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=\/wp\/v2\/posts\/1361\/revisions\/1362"}],"wp:attachment":[{"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sashakrasnoyarsk.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}