{"id":4472,"date":"2021-01-28T03:08:04","date_gmt":"2021-01-27T18:08:04","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=4472"},"modified":"2021-01-28T03:15:58","modified_gmt":"2021-01-27T18:15:58","slug":"freebsd-13-0-current-0-2ed50808d2b-c254384-samba4-13-1-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","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=4472","title":{"rendered":"FreeBSD 13.0-CURRENT #0 2ed50808d2b-c254384  Samba4.13.1 AMD EPYC 7302P 16-core Processor\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\/11\/13.jpg\" alt=\"\" width=\"2016\" height=\"1134\" class=\"alignnone size-full wp-image-4476\" \/><br \/>\nroot@freebsd:~ # kinit administrator<br \/>\nadministrator@TEST.JP&#8217;s Password:<br \/>\nroot@freebsd:~ # net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;FREEBSD&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for freebsd. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\nroot@freebsd:~ # service samba_server start<br \/>\nPerforming sanity check on Samba configuration: OK<br \/>\nStarting nmbd.<br \/>\nStarting smbd.<br \/>\nStarting winbindd.<br \/>\nroot@freebsd:~ # wbinfo -u<br \/>\nTEST\\administrator<br \/>\nTEST\\guest<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\nroot@freebsd:~ # wbinfo -n chibi<br \/>\nS-1-5-21-3890957261-1382386746-4181787469-1103 SID_USER (1)<br \/>\nroot@freebsd:~ # net ads info<br \/>\nLDAP server: 192.168.1.24<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: Wed, 18 Nov 2020 03:53:33 JST<br \/>\nKDC server: 192.168.1.24<br \/>\nServer time offset: -6<br \/>\nLast machine account password change: Wed, 18 Nov 2020 03:51:19 JST<br \/>\nroot@freebsd:~ # host -4 dc<br \/>\ndc.test.jp has address 192.168.1.28<br \/>\ndc.test.jp has address 192.168.1.24<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:bc52:10af:9a40:a50<br \/>\nroot@freebsd:~ # host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.21<br \/>\nroot@freebsd:~ # host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.122<br \/>\nroot@freebsd:~ # 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@freebsd:~ # host -t SRV _kerberos._udp.test.jp<br \/>\n_kerberos._udp.test.jp has SRV record 0 100 88 dc.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 dc1.test.jp.<br \/>\nroot@freebsd:~ # host -t A test.jp<br \/>\ntest.jp has address 192.168.1.28<br \/>\ntest.jp has address 192.168.1.21<br \/>\ntest.jp has address 192.168.1.122<br \/>\nroot@freebsd:~ # uname -a<br \/>\nFreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT #0 2ed50808d2b-c254384(main): Thu Nov 12 07:29:09 UTC 2020     root@releng1.nyi.freebsd.org:\/usr\/obj\/usr\/src\/amd64.amd64\/sys\/GENERIC  amd64<br \/>\nroot@freebsd:~ # samba -V<br \/>\nVersion 4.13.1<br \/>\nroot@freebsd:~ # smbclient -L localhost -U%<\/p>\n<p>        Sharename       Type      Comment<br \/>\n        &#8212;&#8212;&#8212;       &#8212;-      &#8212;&#8212;-<br \/>\n        netlogon        Disk<br \/>\n        sysvol          Disk<br \/>\n        IPC$            IPC       IPC Service (Samba 4.13.1)<br \/>\nSMB1 disabled &#8212; no workgroup available<br \/>\nroot@freebsd:~ # smbclient \/\/192.168.1.24\/netlogon -Uadministrator<br \/>\nEnter TEST\\administrator&#8217;s password:<br \/>\nTry &#8220;help&#8221; to get a list of possible commands.<br \/>\n<a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/11\/8e54604eb37b9c34280dd17f3419fb7e.txt\">FreeBSD 13.0-CURRENT #0 2ed50808d2b-c254384 Samba4.13.1 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@freebsd:~ # kinit administrator administrator@TEST.JP&#8217;s Password: root@freebsd:~ # net ads join -U  &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=4472\">\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-4472","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\/4472","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=4472"}],"version-history":[{"count":4,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/4472\/revisions"}],"predecessor-version":[{"id":5393,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/4472\/revisions\/5393"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}