{"id":111,"date":"2015-09-30T16:23:10","date_gmt":"2015-09-30T07:23:10","guid":{"rendered":"http:\/\/www8281uo.sakura.ne.jp\/blog\/?p=111"},"modified":"2015-09-30T16:23:10","modified_gmt":"2015-09-30T07:23:10","slug":"samba-%e3%81%a7%e5%88%a5%e3%82%b5%e3%83%bc%e3%83%90%e3%81%a7%e7%a8%bc%e5%83%8d%e3%81%97%e3%81%a6%e3%81%84%e3%82%8b-ldap-%e3%82%92%e8%aa%8d%e8%a8%bc%e3%81%ab%e4%bd%bf%e3%81%86%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www8281uo.sakura.ne.jp\/blog\/?p=111","title":{"rendered":"Samba \u3067\u5225\u30b5\u30fc\u30d0\u3067\u7a3c\u50cd\u3057\u3066\u3044\u308b LDAP \u3092\u8a8d\u8a3c\u306b\u4f7f\u3046\u65b9\u6cd5"},"content":{"rendered":"<p>Microserver \u306b CentOS 7 \u3092\u5165\u308c\u3066\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u3068\u3057\u3066\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u3002\u305d\u306e\u6642\u306b Samba \u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u304b\u3063\u305f\u306e\u3060\u304c\u3001LDAP \u30b5\u30fc\u30d0\u306f\u3059\u3067\u306b\u5225\u306e\u30b5\u30fc\u30d0\u3067\u52d5\u304b\u3057\u3066\u3044\u308b\u3002 \u300cSamba LDAP\u300d \u3068\u304b\u3067\u8abf\u3079\u308b\u3068\u3001LDAP \u304c\u52d5\u3044\u3066\u3044\u308b\u30b5\u30fc\u30d0\u3067 Samba \u3082\u52d5\u304b\u3059\u65b9\u6cd5\u304c\u66f8\u3044\u3066\u3042\u3063\u305f\u308a\u3057\u3066\u306a\u304b\u306a\u304b\u6b32\u3057\u3044\u60c5\u5831\u306b\u8fbf\u308a\u3064\u3051\u306a\u3044\u3002\u3057\u304b\u3082\u3001Samba \u306f Windows \u306e\u8a8d\u8a3c\u306e\u6a5f\u80fd\uff08\u30c9\u30e1\u30a4\u30f3\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3068\u304b\u3044\u3046\u305d\u3046\u306a\uff09\u3082\u3042\u308b\u3088\u3046\u3067\u3001Active Directory \u95a2\u9023\u306e\u60c5\u5831\u3082\u51fa\u3066\u304d\u305f\u308a\u3057\u3066\u3055\u3089\u306b\u308f\u3051\u304c\u308f\u304b\u3089\u306a\u304f\u306a\u3063\u3066\u304f\u308b\u3002\u3064\u307e\u308a\u306f\u30b0\u30b0\u30e9\u30d3\u30ea\u30c6\u30a3\u304c\u4f4e\u3044\u3002<\/p>\n<p><a href=\"http:\/\/www.nslabs.jp\/samba-ldap.rhtml\">\u3053\u306e\u30b5\u30a4\u30c8<\/a>\u3084<a href=\"http:\/\/furyo.on-air.ne.jp\/linux\/samba_with_ldap.html\">\u3053\u306e\u30b5\u30a4\u30c8<\/a>\u304c\u304b\u306a\u308a\u53c2\u8003\u306b\u306a\u308b\u3002\u8a2d\u5b9a\u3092\u30b9\u30e0\u30fc\u30ba\u306b\u884c\u3046\u305f\u3081\u306b\u7406\u89e3\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u306f\u3001\u4ee5\u4e0b\u306e\u70b9\u3068\u601d\u3046\u3002<\/p>\n<ol>\n<li>Samba \u306e\u8a8d\u8a3c\u3092 LDAP \u3067\u884c\u3046\u305f\u3081\u306b\u306f\u3001Samba \u306e\u8a8d\u8a3c\u306b\u4f7f\u3046\u60c5\u5831\u3092 LDAP \u306e\u5404\u30e6\u30fc\u30b6\u306e\u30a8\u30f3\u30c8\u30ea\u306b\u6301\u305f\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u305d\u306e\u305f\u3081\u306b\u30b9\u30ad\u30fc\u30de\u306e\u8ffd\u52a0\u304c\u5fc5\u8981\u3002<\/li>\n<li>Samba \u30d1\u30b9\u30ef\u30fc\u30c9\u3092 pbdedit \u3084 smbpasswd \u30b3\u30de\u30f3\u30c9\u3067\u5909\u66f4\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u81ea\u5206\u306e LDAP \u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u66f8\u304d\u63db\u3048\u3089\u308c\u308b\u3088\u3046\u306b LDAP \u30b5\u30fc\u30d0\u306e\u30a2\u30af\u30bb\u30b9\u5236\u5fa1\u3092\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u3002<\/li>\n<li>Unix \u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u3001Samba \u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306f LDAP \u306b\u304a\u3044\u3066\u306f\u5225\u306e Attribute \u3068\u3057\u3066\u4fdd\u6301\u3055\u308c\u308b\u3002Unix \u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u3001Samba \u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u540c\u671f\u3055\u305b\u308b\u305f\u3081\u306b\u306f\u3001\/etc\/smb.conf \u3067\n<pre>ldap passwd sync = yes\n<\/pre>\n<p>\u3068\u3059\u308c\u3070\u3088\u3044\u304c\u3001\u3053\u308c\u306f Samba \u304b\u3089\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3057\u305f\u6642\u306b Unix \u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3082\u5909\u66f4\u3059\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3042\u3063\u3066\u3001\u305d\u306e\u9006\u3092\u3059\u308b\u3068\uff08\u3064\u307e\u308a passwd \u30b3\u30de\u30f3\u30c9\u7b49\u3067 Unix \u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u3048\u308b\u3068\uff09\u5225\u3005\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u8a2d\u5b9a\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308b\u3002<\/li>\n<li>CentOS 7 \u3067\u3082\n<pre>yum install samba-client\n<\/pre>\n<p>\u3068\u3059\u308c\u3070 smbpasswd \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/li>\n<\/ol>\n<p>\u305d\u308c\u306b\u3057\u3066\u3082\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30b5\u30fc\u30d3\u30b9\u306f\u8907\u96d1\u3059\u304e\u308b\u3002\u3067\u304d\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u306f\u308f\u304b\u308b\u3051\u3069\u3001\u3082\u3063\u3068\u6271\u3044\u6613\u304f\u306a\u3044\u3068\u7c21\u5358\u306b\u308f\u3051\u308f\u304b\u3089\u3093\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3088\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microserver \u306b CentOS 7 \u3092\u5165\u308c\u3066\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u3068\u3057\u3066\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u3002\u305d\u306e\u6642\u306b Samba \u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u304b\u3063\u305f\u306e\u3060\u304c\u3001LDAP \u30b5\u30fc\u30d0\u306f\u3059\u3067\u306b\u5225\u306e\u30b5\u30fc\u30d0\u3067\u52d5\u304b\u3057\u3066\u3044\u308b\u3002 \u300cSamba  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[15,3],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-centos","category-linux"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www8281uo.sakura.ne.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www8281uo.sakura.ne.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www8281uo.sakura.ne.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www8281uo.sakura.ne.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www8281uo.sakura.ne.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=111"}],"version-history":[{"count":0,"href":"https:\/\/www8281uo.sakura.ne.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions"}],"wp:attachment":[{"href":"https:\/\/www8281uo.sakura.ne.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www8281uo.sakura.ne.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www8281uo.sakura.ne.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}