{"id":13132,"date":"2016-05-13T12:17:25","date_gmt":"2016-05-13T03:17:25","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=13132"},"modified":"2022-08-26T14:28:26","modified_gmt":"2022-08-26T05:28:26","slug":"centos7-samba4-4-3-activedirectorydomain%e3%81%ab%e5%8f%82%e5%8a%a0","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=13132","title":{"rendered":"Centos7 Samba4.4.3 ActiveDirectoryDomain\u306b\u53c2\u52a0"},"content":{"rendered":"<p>[root@centos7 ~]# net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;CENTOS7&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for centos7. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\n[root@centos7 ~]# net ads info<br \/>\nLDAP server: 192.168.1.75<br \/>\nLDAP server name: dc2.test.jp<br \/>\nRealm: TEST.JP<br \/>\nBind Path: dc=TEST,dc=JP<br \/>\nLDAP port: 389<br \/>\nServer time: \u6c34, 11  5\u6708 2016 18:59:58 JST<br \/>\nKDC server: 192.168.1.75<br \/>\nServer time offset: -4<br \/>\nLast machine account password change: \u6c34, 11  5\u6708 2016 18:59:44 JST<br \/>\n[root@centos7 ~]# kinit administrator<br \/>\nPassword for administrator@TEST.JP:<br \/>\n[root@centos7 ~]# host -4 dc<br \/>\ndc.test.jp has address 192.168.1.59<br \/>\ndc.test.jp has IPv6 address 2400:7800:47e0:1700:c43e:f07b:f949:b2ce<br \/>\n[root@centos7 ~]# host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.74<br \/>\ndc1.test.jp has IPv6 address 2400:7800:47e0:1700:f58e:95f3:ee27:515c<br \/>\n[root@centos7 ~]# host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.75<br \/>\ndc2.test.jp has IPv6 address 2400:7800:47e0:1700:9061:f254:15af:c42e<br \/>\n[root@centos7 ~]# host -t A dc.test.jp<br \/>\ndc.test.jp has address 192.168.1.59<br \/>\n[root@centos7 ~]# host -t A dc1.test.jp<br \/>\ndc1.test.jp has address 192.168.1.74<br \/>\n[root@centos7 ~]# host -t A dc2.test.jp<br \/>\ndc2.test.jp has address 192.168.1.75<br \/>\n[root@centos7 ~]# samba -V<br \/>\nVersion 4.4.3<br \/>\n[root@centos7 ~]# <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[root@centos7 ~]# net ads join -U administrator Enter administrator&#8217;s password: Using short domain name  &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=13132\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/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":[19,9],"tags":[],"class_list":["post-13132","post","type-post","status-publish","format-standard","hentry","category-centos7","category-samba4"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/13132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13132"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/13132\/revisions"}],"predecessor-version":[{"id":13136,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/13132\/revisions\/13136"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}