{"id":3467,"date":"2020-10-04T00:39:46","date_gmt":"2020-10-03T15:39:46","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=3467"},"modified":"2020-10-04T00:40:27","modified_gmt":"2020-10-03T15:40:27","slug":"centos-linux-release-8-2-2004-samba4-11-2-windows-server-2019-datacenter-active-directory-domain%e3%81%ae%e3%83%a1%e3%83%b3%e3%83%90%e3%83%bc-%e3%81%ab%e5%8f%82%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%bf-2","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=3467","title":{"rendered":"CentOS Linux release 8.2.2004 Samba4.11.2  Windows Server 2019  Datacenter Active Directory Domain\u306e\u30e1\u30f3\u30d0\u30fc \u306b\u53c2\u52a0\u3057\u3066\u307f\u305f"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/08\/cent8.jpg\" alt=\"\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-3471\" \/><br \/>\n[root@centos8 ~]# kinit administrator<br \/>\nPassword for administrator@TEST.JP:<br \/>\n[root@centos8 ~]# net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;CENTOS8&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for centos8. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\n[root@centos8 ~]# systemctl restart winbind<br \/>\n[root@centos8 ~]# wbinfo -u<br \/>\nTEST\\guest<br \/>\nTEST\\administrator<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\n[root@centos8 ~]# wbinfo -n chibi<br \/>\nS-1-5-21-1554123357-2737978188-3786944711-1103 SID_USER (1)<br \/>\n[root@centos8 ~]# net ads info<br \/>\nLDAP server: 192.168.1.14<br \/>\nLDAP server name: dc1.test.jp<br \/>\nRealm: TEST.JP<br \/>\nBind Path: dc=TEST,dc=JP<br \/>\nLDAP port: 389<br \/>\nServer time: \u91d1, 07  8\u6708 2020 06:34:20 JST<br \/>\nKDC server: 192.168.1.14<br \/>\nServer time offset: -1<br \/>\nLast machine account password change: \u91d1, 07  8\u6708 2020 06:33:23 JST<br \/>\n[root@centos8 ~]# host -4 dc<br \/>\ndc.test.jp has address 192.168.1.8<br \/>\ndc.test.jp has address 192.168.1.13<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:d479:2a83:efca:e147<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:b118:a793:93fa:c606<br \/>\n[root@centos8 ~]# host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.14<br \/>\ndc1.test.jp has IPv6 address 2400:4052:46e0:b700:9d:b986:2f3:e1a1<br \/>\n[root@centos8 ~]# host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.15<br \/>\ndc2.test.jp has IPv6 address 2400:4052:46e0:b700:b560:2801:e321:1a41<br \/>\n[root@centos8 ~]# host -t SRV _ldap._tcp.test.jp<br \/>\n_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.<br \/>\n_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.<br \/>\n_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.<br \/>\n[root@centos8 ~]# host -t SRV _kerberos._udp.test.jp<br \/>\n_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.<br \/>\n_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.<br \/>\n_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.<br \/>\n[root@centos8 ~]# host -t A test.jp<br \/>\ntest.jp has address 192.168.1.15<br \/>\ntest.jp has address 192.168.1.14<br \/>\ntest.jp has address 192.168.1.13<br \/>\n[root@centos8 ~]# host -t A test.jp<br \/>\ntest.jp has address 192.168.1.13<br \/>\ntest.jp has address 192.168.1.15<br \/>\ntest.jp has address 192.168.1.14<br \/>\n[root@centos8 ~]# smbclient -L localhost -U%<br \/>\ndo_connect: Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)<br \/>\n[root@centos8 ~]# smbclient -L 192.168.1.8 -U%<\/p>\n<p>        Sharename       Type      Comment<br \/>\n        &#8212;&#8212;&#8212;       &#8212;-      &#8212;&#8212;-<br \/>\nSMB1 disabled &#8212; no workgroup available<br \/>\n[root@centos8 ~]# smbclient \/\/192.168.1.8\/netlogon -Uadministrator<br \/>\n<a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/08\/0678fa6c666fbcd2dbd1bc062ff2983c.txt\">CentOS Linux release 8.2 Samba4.11.2 Windows Server 2019 Datacenter Active Directory Domain\u306e\u30e1\u30f3\u30d0\u30fc \u306b\u53c2\u52a0\u3057\u3066\u307f\u305f<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[root@centos8 ~]# kinit administrator Password for administrator@TEST.JP: [root@centos8 ~]# net ads join -U ad &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=3467\">\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":[5,9,10],"tags":[],"class_list":["post-3467","post","type-post","status-publish","format-standard","hentry","category-centos8","category-samba4","category-windows"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/3467","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=3467"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/3467\/revisions"}],"predecessor-version":[{"id":3473,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/3467\/revisions\/3473"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}