{"id":4959,"date":"2021-03-28T03:07:48","date_gmt":"2021-03-27T18:07:48","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=4959"},"modified":"2021-03-28T03:08:42","modified_gmt":"2021-03-27T18:08:42","slug":"ubuntu-18-04-5-lts-samba4-7-6-amd-epyc-7302p-16-core-processor%e3%81%a7%e6%a7%8b%e7%af%89%e3%81%97%e3%81%9fwindows-server-2019-datacenter-active-directory-domain%e3%81%ae%e3%83%a1%e3%83%b3%e3%83%90","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=4959","title":{"rendered":"Ubuntu 18.04.5 LTS Samba4.7.6 AMD EPYC 7302P 16-Core Processor\u3067\u69cb\u7bc9\u3057\u305fWindows 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\/2021\/01\/1804.jpg\" alt=\"\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-4965\" \/><br \/>\nroot@1804:~# kinit administrator<br \/>\nPassword for administrator@TEST.JP:<br \/>\nroot@1804:~# net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;1804&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for 1804. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\nroot@1804:~# systemctl restart winbind<br \/>\nroot@1804:~# wbinfo -u<br \/>\nTEST\\administrator<br \/>\nTEST\\guest<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\nroot@1804:~# wbinfo -n administrator<br \/>\nS-1-5-21-995094434-2370853644-3769685270-500 SID_USER (1)<br \/>\nroot@1804:~# net ads info<br \/>\nLDAP server: 192.168.1.28<br \/>\nLDAP server name: dc.test.jp<br \/>\nRealm: TEST.JP<br \/>\nBind Path: dc=TEST,dc=JP<br \/>\nLDAP port: 389<br \/>\nServer time: \u6728, 07  1\u6708 2021 05:03:43 JST<br \/>\nKDC server: 192.168.1.28<br \/>\nServer time offset: -6<br \/>\nLast machine account password change: \u6728, 07  1\u6708 2021 05:02:23 JST<br \/>\nroot@1804:~# host -4 dc<br \/>\ndc.test.jp has address 192.168.1.22<br \/>\ndc.test.jp has address 192.168.1.28<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:b462:ad0e:dd8c:96f4<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:15dc:bd6:5817:24fc<br \/>\nroot@1804:~# host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.25<br \/>\ndc1.test.jp has IPv6 address 2400:4052:46e0:b700:c0ac:f44c:e63:2b0<br \/>\nroot@1804:~# host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.27<br \/>\ndc2.test.jp has IPv6 address 2400:4052:46e0:b700:250f:3df1:1c43:8fcd<br \/>\nroot@1804:~# 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 \/>\nroot@1804:~# 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 \/>\nroot@1804:~# host -t A test.jp<br \/>\ntest.jp has address 13.113.45.174<br \/>\nroot@1804:~# host -t A dc.test.jp<br \/>\ndc.test.jp has address 192.168.1.28<br \/>\ndc.test.jp has address 192.168.1.22<br \/>\nroot@1804:~# host -t A dc1.test.jp<br \/>\ndc1.test.jp has address 192.168.1.25<br \/>\nroot@1804:~# host -t A dc2.test.jp<br \/>\ndc2.test.jp has address 192.168.1.27<br \/>\nroot@1804:~# cat \/etc\/os-release<br \/>\nNAME=&#8221;Ubuntu&#8221;<br \/>\nVERSION=&#8221;18.04.5 LTS (Bionic Beaver)&#8221;<br \/>\nID=ubuntu<br \/>\nID_LIKE=debian<br \/>\nPRETTY_NAME=&#8221;Ubuntu 18.04.5 LTS&#8221;<br \/>\nVERSION_ID=&#8221;18.04&#8243;<br \/>\nHOME_URL=&#8221;https:\/\/www.ubuntu.com\/&#8221;<br \/>\nSUPPORT_URL=&#8221;https:\/\/help.ubuntu.com\/&#8221;<br \/>\nBUG_REPORT_URL=&#8221;https:\/\/bugs.launchpad.net\/ubuntu\/&#8221;<br \/>\nPRIVACY_POLICY_URL=&#8221;https:\/\/www.ubuntu.com\/legal\/terms-and-policies\/privacy-policy&#8221;<br \/>\nVERSION_CODENAME=bionic<br \/>\nUBUNTU_CODENAME=bionic<br \/>\nroot@1804:~# samba -V<br \/>\nVersion 4.7.6-Ubuntu<br \/>\nroot@1804:~# smbclient \/\/192.168.1.22\/netlogon -Uadministrator<br \/>\n<a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2021\/01\/c526a4188786f240c8d2da158c8b08f7.txt\">Ubuntu 18.04.5 LTS Samba4.7.6 AMD EPYC 7302P16-Core Processor\u3067\u69cb\u7bc9\u3057\u305fWindows 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@1804:~# kinit administrator Password for administrator@TEST.JP: root@1804:~# net ads join -U administrato &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=4959\">\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":[9,17,10],"tags":[],"class_list":["post-4959","post","type-post","status-publish","format-standard","hentry","category-samba4","category-ubuntu","category-windows"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/4959","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=4959"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/4959\/revisions"}],"predecessor-version":[{"id":4967,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/4959\/revisions\/4967"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}