{"id":4643,"date":"2021-02-20T02:06:22","date_gmt":"2021-02-19T17:06:22","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=4643"},"modified":"2021-02-20T02:07:34","modified_gmt":"2021-02-19T17:07:34","slug":"arch-linux-samba4-13-2-amd-epyc-7302p-16-core%e3%81%a7%e6%a7%8b%e7%af%89%e3%81%95%e3%82%8c%e3%81%9f-windows-server-2019-datacenter-active-directory-domain-%e3%81%ae%e3%83%a1%e3%83%b3%e3%83%90%e3%83%bc","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=4643","title":{"rendered":"Arch Linux Samba4.13.2 AMD EPYC 7302P 16-core\u3067\u69cb\u7bc9\u3055\u308c\u305f 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\/12\/ar.jpg\" alt=\"\" width=\"3840\" height=\"2160\" class=\"alignnone size-full wp-image-4649\" \/><br \/>\n[root@archlinux ~]# kinit administrator<br \/>\nPassword for administrator@TEST.JP:<br \/>\n[root@archlinux ~]# net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;ARCHLINUX&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for archlinux. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\n[root@archlinux ~]# systemctl restart winbind<br \/>\n[root@archlinux ~]# wbinfo -u<br \/>\nTEST\\guest<br \/>\nTEST\\administrator<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\n[root@archlinux ~]# wbinfo -n chibi<br \/>\nS-1-5-21-531816203-730215079-1526157293-1103 SID_USER (1)<br \/>\n[root@archlinux ~]# net ads info<br \/>\nLDAP server: 192.168.1.42<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: Wed, 02 Dec 2020 19:46:18 JST<br \/>\nKDC server: 192.168.1.42<br \/>\nServer time offset: -4<br \/>\nLast machine account password change: Wed, 02 Dec 2020 19:45:19 JST<br \/>\n[root@archlinux ~]# host -4 dc<br \/>\ndc.test.jp has address 192.168.1.34<br \/>\ndc.test.jp has address 192.168.1.24<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:78ff:d4cf:8f24:c7aa<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:55c4:a495:cffa:fa8c<br \/>\n[root@archlinux ~]# host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.42<br \/>\ndc1.test.jp has IPv6 address 2400:4052:46e0:b700:8ca1:4fc6:8897:27c2<br \/>\n[root@archlinux ~]# host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.143<br \/>\ndc2.test.jp has IPv6 address 2400:4052:46e0:b700:4187:ee03:b5e:34e1<br \/>\n[root@archlinux ~]# host -t SRV _ldap._tcp.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_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.<br \/>\n[root@archlinux ~]# 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@archlinux ~]# host -t A test.jp<br \/>\ntest.jp has address 192.168.1.42<br \/>\ntest.jp has address 192.168.1.143<br \/>\ntest.jp has address 192.168.1.24<br \/>\ntest.jp has address 192.168.1.34<br \/>\n[root@archlinux ~]# cat \/etc\/os-release<br \/>\nNAME=&#8221;Arch Linux&#8221;<br \/>\nPRETTY_NAME=&#8221;Arch Linux&#8221;<br \/>\nID=arch<br \/>\nBUILD_ID=rolling<br \/>\nANSI_COLOR=&#8221;38;2;23;147;209&#8243;<br \/>\nHOME_URL=&#8221;https:\/\/www.archlinux.org\/&#8221;<br \/>\nDOCUMENTATION_URL=&#8221;https:\/\/wiki.archlinux.org\/&#8221;<br \/>\nSUPPORT_URL=&#8221;https:\/\/bbs.archlinux.org\/&#8221;<br \/>\nBUG_REPORT_URL=&#8221;https:\/\/bugs.archlinux.org\/&#8221;<br \/>\nLOGO=archlinux<br \/>\n[root@archlinux ~]# samba -V<br \/>\nVersion 4.13.2<br \/>\n[root@archlinux ~]# smbclient \/\/192.168.1.24\/netlogon -Uadministrator<br \/>\n<a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/12\/9810d85b8947ae08126292fa2590e488.txt\">Arch Linux Samba4.13.2 AMD EPYC 7302P\u3067\u69cb\u7bc9\u3055\u308c\u305f 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@archlinux ~]# kinit administrator Password for administrator@TEST.JP: [root@archlinux ~]# net ads join &#8211; &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=4643\">\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":[4,9,10],"tags":[],"class_list":["post-4643","post","type-post","status-publish","format-standard","hentry","category-archlinux","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\/4643","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=4643"}],"version-history":[{"count":3,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/4643\/revisions"}],"predecessor-version":[{"id":5824,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/4643\/revisions\/5824"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}