{"id":2720,"date":"2020-07-28T01:02:42","date_gmt":"2020-07-27T16:02:42","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=2720"},"modified":"2020-07-28T01:03:29","modified_gmt":"2020-07-27T16:03:29","slug":"manjaro-linux-samba4-12-3-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=2720","title":{"rendered":"Manjaro Linux Samba4.12.3 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\/06\/2019.jpg\" alt=\"\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-2724\" \/><br \/>\n[man ~]# kinit administrator<br \/>\nPassword for administrator@TEST.JP:<br \/>\n[man ~]# net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;MAN&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for man. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\n[man ~]# systemctl restart winbind<br \/>\n[man ~]# wbinfo -u<br \/>\nTEST\\guest<br \/>\nTEST\\administrator<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\n[man ~]# wbinfo -n chibi<br \/>\nS-1-5-21-2159038676-3848672400-3505102378-1103 SID_USER (1)<br \/>\n[man ~]# net ads info<br \/>\nLDAP server: 192.168.1.17<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: \u571f, 13  6\u6708 2020 12:01:02 JST<br \/>\nKDC server: 192.168.1.17<br \/>\nServer time offset: 2<br \/>\nLast machine account password change: \u571f, 13  6\u6708 2020 11:58:08 JST<br \/>\n[man ~]# host -4 dc<br \/>\ndc.test.jp has address 192.168.1.50<br \/>\ndc.test.jp has address 192.168.1.22<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:d56d:9f05:5cda:fbe8<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:a035:b863:4a37:e660<br \/>\n[man ~]# host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.17<br \/>\ndc1.test.jp has IPv6 address 2400:4052:46e0:b700:7c31:3359:360e:d40d<br \/>\n[man ~]# host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.18<br \/>\ndc2.test.jp has IPv6 address 2400:4052:46e0:b700:d89d:98e1:481b:ae05<br \/>\n[man ~]# cat \/etc\/os-release<br \/>\nNAME=&#8221;Manjaro Linux&#8221;<br \/>\nID=manjaro<br \/>\nID_LIKE=arch<br \/>\nBUILD_ID=rolling<br \/>\nPRETTY_NAME=&#8221;Manjaro Linux&#8221;<br \/>\nANSI_COLOR=&#8221;32;2;24;144;200&#8243;<br \/>\nHOME_URL=&#8221;https:\/\/manjaro.org\/&#8221;<br \/>\nDOCUMENTATION_URL=&#8221;https:\/\/wiki.manjaro.org\/&#8221;<br \/>\nSUPPORT_URL=&#8221;https:\/\/manjaro.org\/&#8221;<br \/>\nBUG_REPORT_URL=&#8221;https:\/\/bugs.manjaro.org\/&#8221;<br \/>\nLOGO=manjarolinux<br \/>\n[man ~]# samba -V<br \/>\nVersion 4.12.3<br \/>\n[man ~]# smbclient -L 192.168.1.22 -U%<\/p>\n<p>        Sharename       Type      Comment<br \/>\n        &#8212;&#8212;&#8212;       &#8212;-      &#8212;&#8212;-<br \/>\nSMB1 disabled &#8212; no workgroup available<br \/>\n[man ~]# smbclient \/\/192.168.1.22\/netlogon -Uadministrator<br \/>\n<a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/06\/753111bc278fb601e60b04d6bae527b5.txt\">Manjaro Linux Samba4.12.3 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>[man ~]# kinit administrator Password for administrator@TEST.JP: [man ~]# net ads join -U administrator Enter  &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=2720\">\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":[3,9,10],"tags":[],"class_list":["post-2720","post","type-post","status-publish","format-standard","hentry","category-manjaro","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\/2720","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=2720"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/2720\/revisions"}],"predecessor-version":[{"id":2726,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/2720\/revisions\/2726"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}