{"id":932,"date":"2020-04-02T02:35:18","date_gmt":"2020-04-01T17:35:18","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=932"},"modified":"2020-04-02T02:54:32","modified_gmt":"2020-04-01T17:54:32","slug":"fedora-release-32-samba4-12-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=932","title":{"rendered":"Fedora release 32 Samba4.12.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-full wp-image-941\" src=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/03\/32.jpg\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p>\n<p>[root@f32 ~]# kinit administrator<br \/>\nPassword for administrator@TEST.JP:<br \/>\n[root@f32 ~]# net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;F32&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for f32. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\n[root@f32 ~]# systemctl restart winbind<br \/>\n[root@f32 ~]# wbinfo -u<br \/>\nadministrator<br \/>\nguest<br \/>\nkrbtgt<br \/>\nchibi<br \/>\n[root@f32 ~]# wbinfo -n chibi<br \/>\nS-1-5-21-1678940183-1404043644-1380363875-1103 SID_USER (1)<br \/>\n[root@f32 ~]# net ads info<br \/>\nLDAP server: 192.168.1.39<br \/>\nLDAP server name: dc.test.jp<br \/>\nRealm: TEST.JP<br \/>\nBind Path: dc=TEST,dc=JP<br \/>\nLDAP port: 389<br \/>\nServer time: \u571f, 07 3\u6708 2020 15:33:11 JST<br \/>\nKDC server: 192.168.1.39<br \/>\nServer time offset: -11<br \/>\nLast machine account password change: \u571f, 07 3\u6708 2020 15:32:29 JST<br \/>\n[root@f32 ~]# 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[root@f32 ~]# 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[root@f32 ~]# 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[root@f32 ~]# 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[root@f32 ~]# 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 \/>\n[root@f32 ~]# host -t A test.jp<br \/>\ntest.jp has address 192.168.1.45<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.39<br \/>\n[root@f32 ~]# smbclient -L localhost -U%<br \/>\ndo_connect: Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)<br \/>\n[root@f32 ~]# smbclient -L 192.168.1.39 -U%<\/p>\n<p>Sharename Type Comment<br \/>\n&#8212;&#8212;&#8212; &#8212;- &#8212;&#8212;-<br \/>\nSMB1 disabled &#8212; no workgroup available<br \/>\n[root@f32 ~]# smbclient \/\/192.168.1.39\/netlogon -Uadministrator<\/p>\n<p><a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/03\/Fedora-release-32-Samba4.12.0-Windows-Server-2019-Datacenter-Active-Directory-Domain-\u306e\u30e1\u30f3\u30d0\u30fc\u306b\u53c2\u52a0\u3057\u3066\u307f\u305f.txt\">Fedora release 32 Samba4.12.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>[root@f32 ~]# kinit administrator Password for administrator@TEST.JP: [root@f32 ~]# net ads join -U administra &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=932\">\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":[2,9,10],"tags":[],"class_list":["post-932","post","type-post","status-publish","format-standard","hentry","category-fedora","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\/932","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=932"}],"version-history":[{"count":3,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/932\/revisions"}],"predecessor-version":[{"id":943,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/932\/revisions\/943"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}