{"id":528,"date":"2020-02-27T02:42:39","date_gmt":"2020-02-26T17:42:39","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=528"},"modified":"2020-02-27T03:03:55","modified_gmt":"2020-02-26T18:03:55","slug":"manjaro-linux-samba4-10-0-windows-server-2016-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=528","title":{"rendered":"Manjaro Linux Samba4.10.0 Windows Server 2016 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-533\" src=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/manjaro-1024x634.jpg\" alt=\"\" width=\"525\" height=\"325\" srcset=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/manjaro-1024x634.jpg 1024w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/manjaro-300x186.jpg 300w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/manjaro-768x475.jpg 768w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/manjaro-1536x951.jpg 1536w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/manjaro.jpg 1706w\" 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 enable winbind<br \/>\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/winbind.service \u2192 \/usr\/lib\/systemd\/system\/winbind.service.<br \/>\n[manjaro ~]# systemctl restart winbind<br \/>\n[manjaro ~]# wbinfo -u<br \/>\nTEST\\guest<br \/>\nTEST\\defaultaccount<br \/>\nTEST\\administrator<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\n[manjaro ~]# wbinfo -n chibi<br \/>\nS-1-5-21-3866720368-3273965808-1478398572-1103 SID_USER (1)<br \/>\n[manjaro ~]# net ads info<br \/>\nLDAP server: 192.168.1.32<br \/>\nLDAP server name: dc2.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 05:01:14 JST<br \/>\nKDC server: 192.168.1.32<br \/>\nServer time offset: -7<br \/>\nLast machine account password change: \u571f, 15 2\u6708 2020 05:00:28 JST<br \/>\n[manjaro ~]# host -4 dc<br \/>\ndc.test.jp has address 192.168.1.41<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:9c17:70c2:f128:4f74<br \/>\n[manjaro ~]# host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.52<br \/>\ndc1.test.jp has IPv6 address 2400:4052:46e0:b700:a555:f9b5:10f3:2a15<br \/>\n[manjaro ~]# host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.32<br \/>\ndc2.test.jp has IPv6 address 2400:4052:46e0:b700:d908:2730:71f3:20c<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 \/>\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 \/>\n;; connection timed out; no servers could be reached<br \/>\n[manjaro ~]# host -t A dc.test.jp<br \/>\ndc.test.jp has address 192.168.1.41<br \/>\n[manjaro ~]# host -t A dc1.test.jp<br \/>\ndc1.test.jp has address 192.168.1.52<br \/>\n[manjaro ~]# host -t A dc2.test.jp<br \/>\ndc2.test.jp has address 192.168.1.32<br \/>\n[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 ~]# smbclient -L 192.168.1.41 -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.41 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.41\/netlogon -Uadministrator<\/p>\n<p><a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/Manjaro-Linux-Samba4.10.0-Windows-Server-2016-Datacenter-Active-Directory-Domain-\u306e\u30e1\u30f3\u30d0\u30fc\u306b\u53c2\u52a0\u3057\u3066\u307f\u305f.txt\">Manjaro Linux Samba4.10.0 Windows Server 2016 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=528\">\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-528","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\/528","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=528"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/528\/revisions"}],"predecessor-version":[{"id":535,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/528\/revisions\/535"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}