{"id":5756,"date":"2021-06-06T00:04:03","date_gmt":"2021-06-05T15:04:03","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=5756"},"modified":"2025-12-13T17:37:28","modified_gmt":"2025-12-13T08:37:28","slug":"freebsd-14-0-current-0-main-n244733-c511a5ab53b-samba4-13-1-amd-epyc-7742-64core-processor-x2-sockets-%e3%81%a7%e6%a7%8b%e7%af%89%e3%81%97%e3%81%9f-windows-server-2019-datacenter-active-directory-dom","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=5756","title":{"rendered":"FreeBSD 14.0-CURRENT #0 main-n244733-c511a5ab53b Samba4.13.1 \u7b2c2\u4e16\u4ee3 AMD EPYC 7742 64core Processor x2 sockets \u3067\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\/2021\/02\/freebsd14.jpg\" alt=\"\" width=\"3840\" height=\"2160\" class=\"alignnone size-full wp-image-5765\" \/><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<\/p>\n<p>Performing sanity check on Samba configuration: OK<br \/>\nStarting nmbd.<br \/>\nStarting smbd.<br \/>\nStarting winbindd.<br \/>\nroot@freebsd:~ # wbinfo -n chibi<br \/>\nS-1-5-21-569922169-655339872-509955901-1103 SID_USER (1)<br \/>\nroot@freebsd:~ # net ads info<br \/>\nLDAP server: 192.168.1.63<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: Mon, 15 Feb 2021 17:46:30 JST<br \/>\nKDC server: 192.168.1.63<br \/>\nServer time offset: 0<br \/>\nLast machine account password change: Mon, 15 Feb 2021 17:44:04 JST<br \/>\nroot@freebsd:~ # host -4 dc<br \/>\ndc.test.jp has address 192.168.1.63<br \/>\ndc.test.jp has address 192.168.1.64<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:a5c1:a91b:faa2:4762<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:4ddd:52e8:256b:f6db<br \/>\nroot@freebsd:~ # host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.72<br \/>\ndc1.test.jp has IPv6 address 2400:4052:46e0:b700:c027:23b1:661c:fc31<br \/>\nroot@freebsd:~ # host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.74<br \/>\ndc2.test.jp has IPv6 address 2400:4052:46e0:b700:d967:4949:db29:5dcf<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.72<br \/>\ntest.jp has address 192.168.1.74<br \/>\ntest.jp has address 192.168.1.64<br \/>\ntest.jp has address 192.168.1.63<br \/>\nroot@freebsd:~ # smbclient \/\/192.168.1.63\/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  Thu Feb  4 06:46:08 2021<br \/>\n  ..                                  D        0  Thu Feb  4 06:46:08 2021<\/p>\n<p>                124869119 blocks of size 4096. 106634355 blocks available<br \/>\nsmb: \\> exit<br \/>\nroot@freebsd:~ # smbclient \/\/192.168.1.63\/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  Thu Feb  4 06:46:08 2021<br \/>\n  ..                                  D        0  Thu Feb  4 06:46:08 2021<br \/>\n  test.jp                            Dr        0  Thu Feb  4 06:46:08 2021<\/p>\n<p>                124869119 blocks of size 4096. 106637555 blocks available<br \/>\nsmb: \\> exit<br \/>\nroot@freebsd:~ # uname -a<br \/>\nFreeBSD freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n244733-c511a5ab53b: Thu Feb 11 07:07:14 UTC 2021     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:~ # net ads lookup<br \/>\n<a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2021\/02\/444e50e972ad261d8d2e19b9a1a8f6e9.txt\">FreeBSD 14.0-CURRENT #0 main-n244733-c511a5ab53b Samba4.13.1 AMD EPYC 7742 64core Processor x2 sockets \u3067\u69cb\u7bc9\u3057\u305f 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@freebsd:~ # kinit administrator administrator@TEST.JP&#8217;s Password: root@freebsd:~ # net ads join -U  &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=5756\">\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-5756","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\/5756","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=5756"}],"version-history":[{"count":3,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/5756\/revisions"}],"predecessor-version":[{"id":28997,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/5756\/revisions\/28997"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}