{"id":3698,"date":"2020-10-29T07:05:09","date_gmt":"2020-10-28T22:05:09","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=3698"},"modified":"2020-10-29T07:05:52","modified_gmt":"2020-10-28T22:05:52","slug":"fedora-release-32-samba4-12-6-amd-epyc-7302p-%e3%81%ab%e6%a7%8b%e7%af%89%e3%81%97%e3%81%9f-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","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=3698","title":{"rendered":"Fedora release 32 Samba4.12.6 AMD EPYC 7302P \u306b\u69cb\u7bc9\u3057\u305f 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\/09\/e45d2603b55b89a3703b077d52a5da4d.jpg\" alt=\"\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-3704\" \/><br \/>\n[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 \/>\nTEST\\administrator<br \/>\nTEST\\guest<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\n[root@f32 ~]# wbinfo -n chibi<br \/>\nS-1-5-21-4252828235-1945649609-3318306072-1103 SID_USER (1)<br \/>\n[root@f32 ~]# net ads info<br \/>\nLDAP server: 192.168.1.27<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: \u65e5, 06  9\u6708 2020 17:08:50 JST<br \/>\nKDC server: 192.168.1.27<br \/>\nServer time offset: 0<br \/>\nLast machine account password change: \u65e5, 06  9\u6708 2020 17:07:50 JST<br \/>\n[root@f32 ~]# host -4 dc<br \/>\ndc.test.jp has address 192.168.1.27<br \/>\ndc.test.jp has address 192.168.1.28<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:4975:1828:7465:84aa<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:5021:a5ac:5882:f185<br \/>\n[root@f32 ~]# host -t SRV _ldap._tcp.test.jp<br \/>\n_ldap._tcp.test.jp has SRV record 0 100 389 dc.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 dc.test.jp.<br \/>\n[root@f32 ~]# host -t A dc.test.jp<br \/>\ndc.test.jp has address 192.168.1.27<br \/>\ndc.test.jp has address 192.168.1.28<br \/>\n[root@f32 ~]# cat \/etc\/redhatrelease<br \/>\ncat: \/etc\/redhatrelease: \u305d\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3042\u308a\u307e\u305b\u3093<br \/>\n[root@f32 ~]# cat \/etc\/redhat-release<br \/>\nFedora release 32 (Thirty Two)<br \/>\n[root@f32 ~]# samba -V<br \/>\nVersion 4.12.6<br \/>\n[root@f32 ~]# smbclient \/\/192.168.1.27\/netlogon -Uadministrator<br \/>\nEnter TEST\\administrator&#8217;s password:<br \/>\nTry &#8220;help&#8221; to get a list of possible commands.<br \/>\nsmb: \\> ls<br \/>\n  .                                   D        0  Sun Sep  6 14:00:34 2020<br \/>\n  ..                                  D        0  Sun Sep  6 14:00:34 2020<\/p>\n<p>                124869119 blocks of size 4096. 119059429 blocks available<br \/>\nsmb: \\> exit<br \/>\n[root@f32 ~]# smbclient \/\/192.168.1.27\/sysvol -Uadministrator<br \/>\nEnter TEST\\administrator&#8217;s password:<br \/>\nTry &#8220;help&#8221; to get a list of possible commands.<br \/>\nsmb: \\> ls<br \/>\n  .                                   D        0  Sun Sep  6 14:00:34 2020<br \/>\n  ..                                  D        0  Sun Sep  6 14:00:34 2020<br \/>\n  test.jp                            Dr        0  Sun Sep  6 14:00:34 2020<\/p>\n<p>                124869119 blocks of size 4096. 119059357 blocks available<br \/>\nsmb: \\> exit<br \/>\n[root@f32 ~]# cat \/etc\/redhat-release<br \/>\n<a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/09\/15b858db3723de19f7cae870a2371537.txt\">Fedora release 32 Samba4.12.6 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=3698\">\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-3698","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\/3698","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=3698"}],"version-history":[{"count":3,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/3698\/revisions"}],"predecessor-version":[{"id":4233,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/3698\/revisions\/4233"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}