{"id":3889,"date":"2020-11-21T05:23:29","date_gmt":"2020-11-20T20:23:29","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=3889"},"modified":"2020-11-21T05:24:11","modified_gmt":"2020-11-20T20:24:11","slug":"freebsd-13-0-current-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","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=3889","title":{"rendered":"FreeBSD 13.0-CURRENT  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\/4d6b9ce189720ede97ec1c71b2ab0f85.jpg\" alt=\"\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-3900\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/09\/52d6fd8a04e917a1a1d5f5e0b824968d.jpg\" alt=\"\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-3897\" \/><br \/>\nroot@fbsd13:~ # kinit administrator<br \/>\nadministrator@TEST.JP&#8217;s Password:<br \/>\nroot@fbsd13:~ # net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;FBSD13&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for fbsd13. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\nroot@fbsd13:~ # service samba_server start<br \/>\nPerforming sanity check on Samba configuration: OK<br \/>\nStarting nmbd.<br \/>\nStarting smbd.<br \/>\nStarting winbindd.<br \/>\nroot@fbsd13:~ # wbinfo -u<br \/>\nTEST\\guest<br \/>\nTEST\\administrator<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\nroot@fbsd13:~ # wbinfo -n chibi<br \/>\nS-1-5-21-4252828235-1945649609-3318306072-1103 SID_USER (1)<br \/>\nroot@fbsd13:~ # net ads info<br \/>\nLDAP server: 192.168.1.53<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: Wed, 23 Sep 2020 04:43:45 JST<br \/>\nKDC server: 192.168.1.53<br \/>\nServer time offset: -6<br \/>\nLast machine account password change: Wed, 23 Sep 2020 04:41:47 JST<br \/>\nroot@fbsd13:~ # 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:5440:7997:1f70:6066<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:5021:a5ac:5882:f185<br \/>\nroot@fbsd13:~ # 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@fbsd13:~ # 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@fbsd13:~ # 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 \/>\nroot@fbsd13:~ # 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 \/>\nroot@fbsd13:~ # host -t A test.jp<br \/>\ntest.jp has address 192.168.1.27<br \/>\ntest.jp has address 192.168.1.28<br \/>\ntest.jp has address 192.168.1.53<br \/>\ntest.jp has address 192.168.1.30<br \/>\nroot@fbsd13:~ # uname -a<br \/>\nFreeBSD fbsd13 13.0-CURRENT FreeBSD 13.0-CURRENT #0 17bd0444d91-c253161(main): Thu Sep 17 06:40:53 UTC 2020     root@releng1.nyi.freebsd.org:\/usr\/obj\/usr\/src\/amd64.amd64\/sys\/GENERIC  amd64<br \/>\nroot@fbsd13:~ # samba -V<br \/>\nVersion 4.11.11<br \/>\nroot@fbsd13:~ # net ads lookup<br \/>\nInformation for Domain Controller: 192.168.1.53<br \/>\n<a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/09\/1d12218c4fed69dad59ec9eeb4e68f4c.txt\">FreeBSD 13.0-CURRENT 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@fbsd13:~ # kinit administrator administrator@TEST.JP&#8217;s Password: root@fbsd13:~ # net ads join -U ad &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=3889\">\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-3889","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\/3889","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=3889"}],"version-history":[{"count":3,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/3889\/revisions"}],"predecessor-version":[{"id":3901,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/3889\/revisions\/3901"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}