{"id":444,"date":"2020-02-20T03:45:54","date_gmt":"2020-02-19T18:45:54","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=444"},"modified":"2020-02-20T03:46:33","modified_gmt":"2020-02-19T18:46:33","slug":"debian10-3-samba4-9-5-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=444","title":{"rendered":"Debian10.3 Samba4.9.5 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-full wp-image-450\" src=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Screenshot-from-2020-02-11-14-46-28.png\" alt=\"\" width=\"800\" height=\"600\" srcset=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Screenshot-from-2020-02-11-14-46-28.png 800w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Screenshot-from-2020-02-11-14-46-28-300x225.png 300w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Screenshot-from-2020-02-11-14-46-28-768x576.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-451\" src=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/debian-1024x576.jpg\" alt=\"\" width=\"525\" height=\"295\" srcset=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/debian-1024x576.jpg 1024w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/debian-300x169.jpg 300w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/debian-768x432.jpg 768w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/debian-1536x864.jpg 1536w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/debian.jpg 1920w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/p>\n<p>root@debian:~# cat \/etc\/os-release<br \/>\nPRETTY_NAME=&#8221;Debian GNU\/Linux 10 (buster)&#8221;<br \/>\nNAME=&#8221;Debian GNU\/Linux&#8221;<br \/>\nVERSION_ID=&#8221;10&#8243;<br \/>\nVERSION=&#8221;10 (buster)&#8221;<br \/>\nVERSION_CODENAME=buster<br \/>\nID=debian<br \/>\nHOME_URL=&#8221;https:\/\/www.debian.org\/&#8221;<br \/>\nSUPPORT_URL=&#8221;https:\/\/www.debian.org\/support&#8221;<br \/>\nBUG_REPORT_URL=&#8221;https:\/\/bugs.debian.org\/&#8221;<br \/>\nroot@debian:~# cat \/etc\/debian_version<br \/>\n10.3<br \/>\nroot@debian:~# kinit administrator<br \/>\nPassword for administrator@TEST.JP:<br \/>\nroot@debian:~# net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;DEBIAN&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for debian. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\nroot@debian:~# systemctl restart winbind<br \/>\nroot@debian:~# wbinfo -u<br \/>\nTEST\\guest<br \/>\nTEST\\administrator<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\nroot@debian:~# wbinfo -n chibi<br \/>\nS-1-5-21-1678940183-1404043644-1380363875-1103 SID_USER (1)<br \/>\nroot@debian:~# net ads info<br \/>\nLDAP server: 192.168.1.156<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: \u706b, 11 2\u6708 2020 14:40:20 JST<br \/>\nKDC server: 192.168.1.156<br \/>\nServer time offset: -3<br \/>\nLast machine account password change: \u706b, 11 2\u6708 2020 14:38:07 JST<br \/>\nroot@debian:~# host -4 dc<br \/>\ndc.test.jp has address 192.168.1.39<br \/>\ndc.test.jp has address 192.168.1.45<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:f0b6:ef83:7301:d109<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:1911:c150:a1a4:ec24<br \/>\nroot@debian:~# host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.156<br \/>\ndc1.test.jp has IPv6 address 2400:4052:46e0:b700:ad7c:4cdc:822b:97d1<br \/>\nroot@debian:~# host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.157<br \/>\ndc2.test.jp has IPv6 address 2400:4052:46e0:b700:98c3:a37e:341c:8589<br \/>\nroot@debian:~# 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 \/>\nroot@debian:~# 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@debian:~# host -t A test.jp<br \/>\ntest.jp has address 192.168.1.39<br \/>\ntest.jp has address 192.168.1.156<br \/>\ntest.jp has address 192.168.1.157<br \/>\ntest.jp has address 192.168.1.45<br \/>\nroot@debian:~# cat \/etc\/os-release<br \/>\nPRETTY_NAME=&#8221;Debian GNU\/Linux 10 (buster)&#8221;<br \/>\nNAME=&#8221;Debian GNU\/Linux&#8221;<br \/>\nVERSION_ID=&#8221;10&#8243;<br \/>\nVERSION=&#8221;10 (buster)&#8221;<br \/>\nVERSION_CODENAME=buster<br \/>\nID=debian<br \/>\nHOME_URL=&#8221;https:\/\/www.debian.org\/&#8221;<br \/>\nSUPPORT_URL=&#8221;https:\/\/www.debian.org\/support&#8221;<br \/>\nBUG_REPORT_URL=&#8221;https:\/\/bugs.debian.org\/&#8221;<br \/>\nroot@debian:~# cat \/etc\/debian_version<br \/>\n10.3<br \/>\nroot@debian:~# samba -V<br \/>\nVersion 4.9.5-Debian<br \/>\nroot@debian:~# 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.9.5-Debian)<br \/>\nReconnecting with SMB1 for workgroup listing.<\/p>\n<p>Server Comment<br \/>\n&#8212;&#8212;&#8212; &#8212;&#8212;-<br \/>\nDC<br \/>\nDC1<br \/>\nDC2<br \/>\nDEBIAN Samba 4.9.5-Debian<\/p>\n<p>Workgroup Master<br \/>\n&#8212;&#8212;&#8212; &#8212;&#8212;-<br \/>\nTEST DEBIAN<br \/>\nWORKGROUP DESKTOP-0NRQL5D<br \/>\nroot@debian:~# smbclient \/\/192.168.1.39\/netlogon -Uadministrator<\/p>\n<p><a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Debian10.3-Samba4.9.5-Windows-Server-2019-Datacenter-Active-Directory-Domain\u306e\u30e1\u30f3\u30d0\u30fc-\u306b\u53c2\u52a0\u3057\u3066\u307f\u305f.txt\">Debian10.3 Samba4.9.5 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@debian:~# cat \/etc\/os-release PRETTY_NAME=&#8221;Debian GNU\/Linux 10 (buster)&#8221; NAME=&#8221;Debian G &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=444\">\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":[13,9,10],"tags":[],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-debian","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\/444","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=444"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":453,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions\/453"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}