{"id":3761,"date":"2020-11-05T00:39:21","date_gmt":"2020-11-04T15:39:21","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=3761"},"modified":"2020-11-05T00:40:17","modified_gmt":"2020-11-04T15:40:17","slug":"freebsd12-2-samba4-11-11-amd-epyc-7302p%e3%81%a7%e6%a7%8b%e7%af%89%e3%81%97%e3%81%9fwindows-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=3761","title":{"rendered":"FreeBSD12.2  Samba4.11.11 AMD EPYC 7302P\u3067\u69cb\u7bc9\u3057\u305fWindows 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\/FREEBSD.jpg\" alt=\"\" width=\"2304\" height=\"1296\" class=\"alignnone size-full wp-image-3768\" \/><br \/>\nroot@FreeBDF:~ # kinit administrator<br \/>\nadministrator@TEST.JP&#8217;s Password:<br \/>\nroot@FreeBDF:~ # date<br \/>\nFri Sep 11 13:06:21 JST 2020<br \/>\nroot@FreeBDF:~ # ntpdate ntp.nict.jp<br \/>\n11 Sep 04:06:56 ntpdate[1905]: step time server 133.243.238.244 offset -32401.374956 sec<br \/>\nroot@FreeBDF:~ # kinit administrator<br \/>\nadministrator@TEST.JP&#8217;s Password:<br \/>\nkinit: krb5_get_init_creds: Clock skew too great<br \/>\nroot@FreeBDF:~ # net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;FREEBDF&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for freebdf. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\nroot@FreeBDF:~ # service samba_server start<br \/>\nPerforming sanity check on Samba configuration: OK<br \/>\nStarting nmbd.<br \/>\nStarting smbd.<br \/>\nStarting winbindd.<br \/>\nroot@FreeBDF:~ # wbinfo -u<br \/>\nTEST\\guest<br \/>\nTEST\\administrator<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\nroot@FreeBDF:~ # wbinfo -n chibi<br \/>\nS-1-5-21-4252828235-1945649609-3318306072-1103 SID_USER (1)<br \/>\nroot@FreeBDF:~ # net ads info<br \/>\nLDAP server: 192.168.1.30<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: Fri, 11 Sep 2020 04:11:10 JST<br \/>\nKDC server: 192.168.1.30<br \/>\nServer time offset: -5<br \/>\nLast machine account password change: Fri, 11 Sep 2020 04:07:44 JST<br \/>\nroot@FreeBDF:~ # host -4 dc<br \/>\ndc.test.jp has address 192.168.1.28<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:5021:a5ac:5882:f185<br \/>\nroot@FreeBDF:~ # host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.30<br \/>\ndc1.test.jp has IPv6 address 2400:4052:46e0:b700:79f0:d44d:dc7a:b245<br \/>\nroot@FreeBDF:~ # host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.53<br \/>\ndc2.test.jp has IPv6 address 2400:4052:46e0:b700:d9fb:4f0:1b8c:d399<br \/>\nroot@FreeBDF:~ # uname -a<br \/>\nFreeBSD FreeBDF 12.2-PRERELEASE FreeBSD 12.2-PRERELEASE r365545 GENERIC  amd64<br \/>\nroot@FreeBDF:~ # samba -V<br \/>\nVersion 4.11.11<br \/>\nroot@FreeBDF:~ # net ads lookup<br \/>\n<a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/09\/6adf4ad19fc3fa0a4d7d8b1cc6d55868.txt\">FreeBSD12.2 Samba4.11.11 AMD EPYC 7302P\u3067\u69cb\u7bc9\u3057\u305fWindows 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@FreeBDF:~ # kinit administrator administrator@TEST.JP&#8217;s Password: root@FreeBDF:~ # date Fri Sep 11  &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=3761\">\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":[8,9,10],"tags":[],"class_list":["post-3761","post","type-post","status-publish","format-standard","hentry","category-freebsd","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\/3761","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=3761"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/3761\/revisions"}],"predecessor-version":[{"id":3770,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/3761\/revisions\/3770"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}