{"id":537,"date":"2020-02-28T06:00:06","date_gmt":"2020-02-27T21:00:06","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=537"},"modified":"2020-02-28T06:01:53","modified_gmt":"2020-02-27T21:01:53","slug":"manjaro-linux-samba4-10-0-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=537","title":{"rendered":"Manjaro Linux Samba4.10.0 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-large wp-image-541\" src=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/manjaro-1-1024x576.jpg\" alt=\"\" width=\"525\" height=\"295\" srcset=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/manjaro-1-1024x576.jpg 1024w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/manjaro-1-300x169.jpg 300w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/manjaro-1-768x432.jpg 768w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/manjaro-1-1536x864.jpg 1536w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/manjaro-1.jpg 1920w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/p>\n<p>[manjaro ~]# cat \/etc\/os-release<br \/>\nNAME=&#8221;Manjaro Linux&#8221;<br \/>\nID=manjaro<br \/>\nID_LIKE=arch<br \/>\nPRETTY_NAME=&#8221;Manjaro Linux&#8221;<br \/>\nANSI_COLOR=&#8221;1;32&#8243;<br \/>\nHOME_URL=&#8221;https:\/\/www.manjaro.org\/&#8221;<br \/>\nSUPPORT_URL=&#8221;https:\/\/www.manjaro.org\/&#8221;<br \/>\nBUG_REPORT_URL=&#8221;https:\/\/bugs.manjaro.org\/&#8221;<br \/>\nLOGO=manjarolinux<br \/>\n[manjaro ~]# samba -V<br \/>\nVersion 4.10.10<br \/>\n[manjaro ~]# kinit administrator<br \/>\nPassword for administrator@TEST.JP:<br \/>\n[manjaro ~]# net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;MANJARO&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for manjaro. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\n[manjaro ~]# systemctl restart winbind<br \/>\n[manjaro ~]# wbinfo -u<br \/>\nTEST\\guest<br \/>\nTEST\\administrator<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\n[manjaro ~]# wbinfo -n chibi<br \/>\nS-1-5-21-1678940183-1404043644-1380363875-1103 SID_USER (1)<br \/>\n[manjaro ~]# 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: \u571f, 15 2\u6708 2020 07:05:32 JST<br \/>\nKDC server: 192.168.1.156<br \/>\nServer time offset: -10<br \/>\nLast machine account password change: \u571f, 15 2\u6708 2020 07:05:01 JST<br \/>\n[manjaro ~]# 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:1911:c150:a1a4:ec24<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:f0b6:ef83:7301:d109<br \/>\n[manjaro ~]# 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 \/>\n[manjaro ~]# 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 \/>\n[manjaro ~]# 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 \/>\n[manjaro ~]# host -t SRV _kerberos._udp.test.jp<br \/>\nHost _kerberos._udp.test.jp not found: 3(NXDOMAIN)<br \/>\n[manjaro ~]# host -t SRV _kerberos._udp.test.jp<br \/>\n_kerberos._udp.test.jp has SRV record 0 100 88 dc.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[manjaro ~]# host -t A test.jp<br \/>\ntest.jp has address 192.168.1.157<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.45<br \/>\n[manjaro ~]# smbclient -L localhost -U%<br \/>\ndo_connect: Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)<br \/>\n[manjaro ~]# smbclient -L 192.168.1.39 -U%<\/p>\n<p>Sharename Type Comment<br \/>\n&#8212;&#8212;&#8212; &#8212;- &#8212;&#8212;-<br \/>\nReconnecting with SMB1 for workgroup listing.<br \/>\ndo_connect: Connection to 192.168.1.39 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)<br \/>\nUnable to connect with SMB1 &#8212; no workgroup available<br \/>\n[manjaro ~]# smbclient \/\/192.168.1.39\/netlogon -Uadministrator<br \/>\nEnter TEST\\administrator&#8217;s password:<br \/>\nTry &#8220;help&#8221; to get a list of possible commands.<br \/>\nsmb: \\&gt; ls<br \/>\n. D 0 Wed Feb 5 04:33:47 2020<br \/>\n.. D 0 Wed Feb 5 04:33:47 2020<\/p>\n<p>58449919 blocks of size 4096. 45200616 blocks available<br \/>\nsmb: \\&gt; exit<br \/>\n[manjaro ~]# smbclient \/\/192.168.1.39\/sysvol -Uadministrator<br \/>\nEnter TEST\\administrator&#8217;s password:<br \/>\nTry &#8220;help&#8221; to get a list of possible commands.<br \/>\nsmb: \\&gt; ls<br \/>\n. D 0 Wed Feb 5 04:33:47 2020<br \/>\n.. D 0 Wed Feb 5 04:33:47 2020<br \/>\ntest.jp D 0 Wed Feb 5 04:33:47 2020<\/p>\n<p>58449919 blocks of size 4096. 45200552 blocks available<br \/>\nsmb: \\&gt; exit<br \/>\n[manjaro ~]#<\/p>\n<p><a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Manjaro-Linux-Samba4.10.0-Windows-Server-2019-Datacenter-Active-Directory-Domain-\u306e\u30e1\u30f3\u30d0\u30fc\u306b\u53c2\u52a0\u3057\u3066\u307f\u305f.txt\">Manjaro Linux Samba4.10.0 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>[manjaro ~]# cat \/etc\/os-release NAME=&#8221;Manjaro Linux&#8221; ID=manjaro ID_LIKE=arch PRETTY_NAME=&#8221;M &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=537\">\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-537","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\/537","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=537"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/537\/revisions"}],"predecessor-version":[{"id":543,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/537\/revisions\/543"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}