{"id":13297,"date":"2019-09-10T02:22:41","date_gmt":"2019-09-09T17:22:41","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=13297"},"modified":"2022-08-29T14:55:04","modified_gmt":"2022-08-29T05:55:04","slug":"fedora28-samba4-8-9-windows-server-2019-datarcenter-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=13297","title":{"rendered":"Fedora28 Samba4.8.9 Windows Server 2019 Datarcenter Active Directory Domain\u306e\u30e1\u30f3\u30d0\u30fc\u306b\u53c2\u52a0\u3057\u3066\u307f\u305f"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/wp.study3.biz\/wp-content\/uploads\/2019\/03\/f28-300x169.jpg\" alt=\"\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-18301\" \/><br \/>\n[root@f28 ~]# kinit administrator<br \/>\nPassword for administrator@TEST.JP:<br \/>\n[root@f28 ~]# net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;F28&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for f28. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\n[root@f28 ~]# systemctl restart winbind<br \/>\n[root@f28 ~]# wbinfo -u<br \/>\nTEST\\administrator<br \/>\nTEST\\guest<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\n[root@f28 ~]# wbinfo -n chibi<br \/>\nS-1-5-21-1479243591-1235118281-2723570680-1103 SID_USER (1)<br \/>\n[root@f28 ~]# net ads info<br \/>\nLDAP server: 192.168.1.14<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, 24  3\u6708 2019 16:06:41 JST<br \/>\nKDC server: 192.168.1.14<br \/>\nServer time offset: -8<br \/>\nLast machine account password change: \u65e5, 24  3\u6708 2019 16:06:19 JST<br \/>\n[root@f28 ~]# host -4 dc<br \/>\ndc.test.jp has address 192.168.1.20<br \/>\ndc.test.jp has address 192.168.1.14<br \/>\ndc.test.jp has IPv6 address 2400:7800:47e0:1700:843c:b4cb:a66:e458<br \/>\ndc.test.jp has IPv6 address 2400:7800:47e0:1700:5d60:6270:38d8:ea67<br \/>\n[root@f28 ~]# host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.17<br \/>\ndc1.test.jp has IPv6 address 2400:7800:47e0:1700:2d08:12b:5540:81b4<br \/>\n[root@f28 ~]# host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.18<br \/>\ndc2.test.jp has IPv6 address 2400:7800:47e0:1700:2177:5b12:d2ca:224f<br \/>\n[root@f28 ~]# host -t SRV _ldap._tcp.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_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.<br \/>\n[root@f28 ~]# 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@f28 ~]# host -t A test.jp<br \/>\ntest.jp has address 192.168.1.14<br \/>\ntest.jp has address 192.168.1.17<br \/>\ntest.jp has address 192.168.1.20<br \/>\ntest.jp has address 192.168.1.18<br \/>\n[root@f28 ~]# cat \/etc\/redhat-release<br \/>\nFedora release 28 (Twenty Eight)<br \/>\n[root@f28 ~]# samba -V<br \/>\nVersion 4.8.9<br \/>\n[root@f28 ~]# smbclient \/\/192.168.1.14\/netlogon -Uadministrator<br \/>\n<a href=\"http:\/\/wp.study3.biz\/wp-content\/uploads\/2019\/03\/176d5a731a1cca3c1722fb4e31c27c69.txt\">Fedora28 Samba4.8.9 Windows Server 2019 Datarcenter Active Directory Domain\u306e\u30e1\u30f3\u30d0\u30fc\u306b\u53c2\u52a0\u3057\u3066\u307f\u305f<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[root@f28 ~]# kinit administrator Password for administrator@TEST.JP: [root@f28 ~]# net ads join -U administra &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=13297\">\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-13297","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\/13297","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=13297"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/13297\/revisions"}],"predecessor-version":[{"id":13301,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/13297\/revisions\/13301"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}