{"id":647,"date":"2014-08-06T00:44:56","date_gmt":"2014-08-05T15:44:56","guid":{"rendered":"http:\/\/www.bunza.net\/Blog\/?p=647"},"modified":"2021-06-08T01:01:13","modified_gmt":"2021-06-07T16:01:13","slug":"FreeBSD10%E3%81%AB%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90Samba4%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%82%8B","status":"publish","type":"post","link":"http:\/\/www.bunza.net\/Blog\/?p=647","title":{"rendered":"FreeBSD10\u306b\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0Samba4\u3092\u5165\u308c\u3066\u307f\u308b"},"content":{"rendered":"<p>\u3057\u3087\u3063\u3071\u306a\u3067\u3053\u3051\u305f\u306e\u3067\u30e1\u30e2\u3002<\/p>\n<p>\u307e\u305apkg\u3067samba\u3092\u691c\u7d22\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u72b6\u614b\u306b\u306a\u308b\u3002<br \/>\n<img decoding=\"async\" alt=\"\" src=\"..\/images\/samb4-20140801.jpg\" style=\"height:368px; width:579px\" \/><br \/>\n\u4f55\u6545\u304bsamba\u672c\u4f53\u30673\u7cfb\u7d71\u5b58\u5728\u3057\u3066\u3044\u308b\u3002\u3053\u308c\u306f<br \/>\n\u30fbSamba3.6:\u4eca\u307e\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0<br \/>\n\u30fbSamba4:\u30a2\u30af\u30c6\u30a3\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5bfe\u5fdc\u3057\u305f\u3082\u306e<br \/>\n\u30fbSamba4.1:\u3053\u308c\u307e\u3067\u3042\u3063\u305fSwat\u304c\u5207\u308a\u96e2\u3055\u308c\u305f\u3082\u306e<br \/>\n\u3068\u8003\u3048\u308c\u3070\u3044\u3044\u305d\u3046\u3067&hellip;&hellip;\u306a\u3093\u3060\u3063\u3066!?<br \/>\n4.1\u7cfb\u5217\u3067\u306fsamba.conf\u3084\u3089smbpasswd\u3092\u624b\u52d5\u3067\u3084\u308c\u3001\u3068!?<br \/>\n(\u8abf\u67fb\u3057\u304d\u308c\u3066\u3044\u306a\u3044\u304c\u3001\u5642\u3067\u306fswat\u81ea\u4f53\u306f\u500b\u5225\u306b\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u3068\u304b)<\/p>\n<p><s>\u307e\u3042\u5165\u308c\u307e\u3059\u30024.0.19_2\u3092\u30c6\u30b9\u30c8\u3067\u5165\u308c\u308b\u3002<\/s><\/p>\n<p><s>\/etc\/rc.conf\u306b<br \/>\n\u3000inetd_enable=&quot;YES&quot;<br \/>\n\u3000samba4_enable=&quot;YES&quot;<br \/>\n\u3092\u8ffd\u52a0\u3002<\/s><\/p>\n<p><strong>\u203b8\/10\u8ffd\u8a18\uff01\u3000\u5b9f\u306fpkg\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u554f\u984c\u304c\u3042\u308b\u3053\u3068\u304c\u5224\u660e\uff01<\/strong><br \/>\n\u5b9f\u969b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u518d\u8d77\u52d5\u3057\u305f\u3068\u3053\u308d\u3001rc.conf\u306e\u8a18\u8ff0\u306e\u5982\u4f55\u306b\u3088\u3089\u305a\u81ea\u52d5\u8d77\u52d5\u3057\u306a\u304b\u3063\u305f\u3002\u3088\u304f\u8abf\u3079\u3066\u307f\u305f\u3089\u300c\/usr\/local\/etc\/rc.d\u300d\u306b\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u30b3\u30d4\u30fc\u3055\u308c\u306a\u304b\u3063\u305f\u306e\u3067\u3042\u308b(Postgresql\u3082\u540c\u3058\uff01)<br \/>\n\u305d\u306e\u305f\u3081\u3001\u30d6\u30fc\u30c8\u6642\u306b\u81ea\u52d5\u3067\u8d77\u52d5\u3055\u305b\u305f\u3044\u5834\u5408\u306f\u3001\u9762\u5012\u3067\u3082Ports\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4e8b\u3002\u307e\u305f\u3001samba4\u7cfb\u7d71\u306f\u30a2\u30af\u30c6\u30a3\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5bfe\u5fdc\u306e\u305f\u3081\u304bDNS\u30b5\u30fc\u30d0\u3092\u8981\u6c42\u3059\u308b\u3002\u6a19\u6e96\u3067\u306f\u3069\u3046\u3082\u52dd\u624b\u306bBind9.8\u7cfb\u7d71\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u9806\u3068\u3057\u3066\u306fBind&rarr;Samba&rarr;Postgresql&rarr;Apach&rarr;PHP\u306e\u9806\u756a\u306b\u306a\u308b\u306e\u3067\u306f\uff1f<br \/>\n\u306a\u304arc.conf\u306b\u306f<br \/>\n\u3000inetd_enable=&quot;YES&quot;<br \/>\n&nbsp; samba_server_enable=&quot;YES&quot;<br \/>\n\u3092\u8ffd\u52a0\u3059\u308b\u3002<br \/>\n\u3084\u3063\u3066\u307f\u308b\u3068\u7d50\u69cb\u99c4\u76ee\u99c4\u76ee\u306apkg\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3082\u306e\u304c\u3069\u3053\u306b\u5165\u308b\u304b\u3082\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3002\u307e\u3060\u307e\u3060\u6210\u719f\u3055\u308c\u3066\u3044\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u304b\u306a\u3042\u3002<br \/>\n<strong>\u203b\u8ffd\u8a18\u3053\u3053\u307e\u3067\u3002<\/strong><br \/>\n&nbsp;<\/p>\n<p>\u3055\u3089\u306b\/etc\/inetd.conf\u306e\u4e00\u756a\u4e0b\u306e\u884c<br \/>\n\u3000#swat&nbsp;&nbsp; &nbsp;stream&nbsp;&nbsp; &nbsp;tcp&nbsp;&nbsp; &nbsp;nowait\/400&nbsp;&nbsp; &nbsp;root&nbsp;&nbsp; &nbsp;\/usr\/local\/sbin\/swat&nbsp;&nbsp; &nbsp;swat<br \/>\n\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3057\u3066\u518d\u8d77\u52d5\u3002<\/p>\n<p>\u3067\u3082\u3063\u3066\u3001\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306e\u8a2d\u5b9a\u3067\u306f<br \/>\nbrowseable<br \/>\naccess based share enum<br \/>\navailable<br \/>\n\u306e3\u3064\u3092YES\u306b\u3057\u306a\u3044\u3068\u3001\u5916\u90e8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u3055\u3042\u3001\u6b21\u306fApache\u3068PHP\u3068PEAR\u3068Postgres\u3092\u4e00\u6c17\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u8a66\u3059\u306e\u3060\u3002<br \/>\n(bind\u3068\u30e1\u30fc\u30eb\u74b0\u5883\u3060\u3051\u306f\u672c\u756a\u74b0\u5883\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u306a\u308a\u305d\u3046\u3067\u3059)<\/p>\n<span><a onclick=\"read_toggle(540571380, '\u7d9a\u304d\u3092\u8aad\u3080', '\u9589\u3058\u308b'); return false;\" class=\"read-link\" id=\"readlink540571380\" style=\"readlink\" href=\"#\">\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/span>\n<div class=\"read_div\" id=\"read540571380\" style=\"display: none;\"> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3057\u3087\u3063\u3071\u306a\u3067\u3053\u3051\u305f\u306e\u3067\u30e1\u30e2\u3002 \u307e\u305apkg\u3067samba\u3092\u691c\u7d22\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u72b6\u614b\u306b\u306a\u308b\u3002 \u4f55\u6545\u304bsamba\u672c\u4f53\u30673\u7cfb\u7d71\u5b58\u5728\u3057\u3066\u3044\u308b\u3002\u3053\u308c\u306f \u30fbSamba3.6:\u4eca\u307e\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0 \u30fbSamba4:\u30a2\u30af\u30c6\u30a3\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"close","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-647","post","type-post","status-publish","format-standard","hentry","category-pc"],"_links":{"self":[{"href":"http:\/\/www.bunza.net\/Blog\/index.php?rest_route=\/wp\/v2\/posts\/647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.bunza.net\/Blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bunza.net\/Blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bunza.net\/Blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bunza.net\/Blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=647"}],"version-history":[{"count":0,"href":"http:\/\/www.bunza.net\/Blog\/index.php?rest_route=\/wp\/v2\/posts\/647\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.bunza.net\/Blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bunza.net\/Blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=647"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bunza.net\/Blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}