{"id":332,"date":"2020-02-12T03:52:54","date_gmt":"2020-02-11T18:52:54","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=332"},"modified":"2020-02-12T03:54:25","modified_gmt":"2020-02-11T18:54:25","slug":"ubuntu19-10-samba4-10-7-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%e3%81%9f","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=332","title":{"rendered":"Ubuntu19.10 Samba4.10.7 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\" class=\"alignnone size-medium wp-image-337\" src=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/1910-300x169.jpg\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/1910-300x169.jpg 300w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/1910-1024x576.jpg 1024w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/1910-768x432.jpg 768w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/1910-1536x864.jpg 1536w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/1910.jpg 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-340\" src=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Screenshot-from-2020-02-05-16-57-36-300x169.png\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Screenshot-from-2020-02-05-16-57-36-300x169.png 300w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Screenshot-from-2020-02-05-16-57-36-1024x576.png 1024w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Screenshot-from-2020-02-05-16-57-36-768x432.png 768w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Screenshot-from-2020-02-05-16-57-36-1536x864.png 1536w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Screenshot-from-2020-02-05-16-57-36.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>root@1910:~# kinit administrator<br \/>\nPassword for administrator@TEST.JP:<br \/>\nroot@1910:~# net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;1910&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for 1910. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\nroot@1910:~# systemctl restart winbind<br \/>\nroot@1910:~# cat \/etc\/krb5.conf<br \/>\n[libdefaults]<br \/>\ndefault_realm = TEST.JP<br \/>\ndns_lookup_realm = false<br \/>\ndns_lookup_kdc = true<br \/>\n[realms]<br \/>\nTEST.JP = {<br \/>\nKdc = 1910<br \/>\n}<\/p>\n<p>[domain_realm]<br \/>\ntest.jp = TEST.JP<br \/>\n.test.jp = TEST.JP<br \/>\nroot@1910:~# smbclient -L localhost -U%<\/p>\n<p>Sharename Type Comment<br \/>\n&#8212;&#8212;&#8212; &#8212;- &#8212;&#8212;-<br \/>\nnetlogon Disk<br \/>\nsysvol Disk<br \/>\nprint$ Disk Printer Drivers<br \/>\nIPC$ IPC IPC Service (Samba 4.10.7-Ubuntu)<br \/>\nReconnecting with SMB1 for workgroup listing.<\/p>\n<p>Server Comment<br \/>\n&#8212;&#8212;&#8212; &#8212;&#8212;-<br \/>\n1910 Samba 4.10.7-Ubuntu<br \/>\nDC<br \/>\nDC1<br \/>\nDC2<\/p>\n<p>Workgroup Master<br \/>\n&#8212;&#8212;&#8212; &#8212;&#8212;-<br \/>\nTEST 1910<br \/>\nWORKGROUP DESKTOP-0NRQL5D<br \/>\nroot@1910:~# smbclient -L localhost -U%<\/p>\n<p><a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Ubuntu19.10-Samba4.10.7-Windows-Server-2019-Datacenter-Active-Directory-Domain-\u306e\u30e1\u30f3\u30d0\u30fc\u306b\u53c2\u52a0\u3057\u3066\u307f\u305f.txt\">Ubuntu19.10 Samba4.10.7 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@1910:~# kinit administrator Password for administrator@TEST.JP: root@1910:~# net ads join -U administrato &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=332\">\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-332","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\/332","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=332"}],"version-history":[{"count":3,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/332\/revisions"}],"predecessor-version":[{"id":341,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/332\/revisions\/341"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}