{"id":503,"date":"2020-02-25T04:38:10","date_gmt":"2020-02-24T19:38:10","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=503"},"modified":"2020-02-25T04:38:59","modified_gmt":"2020-02-24T19:38:59","slug":"freebsd-13-0-current-0-r357847-samba4-10-3-windows-server-2019-datacenter-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","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=503","title":{"rendered":"FreeBSD 13.0-CURRENT #0 r357847 Samba4.10.3 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\" class=\"alignnone size-large wp-image-512\" src=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/13.0-1024x576.jpg\" alt=\"\" width=\"525\" height=\"295\" srcset=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/13.0-1024x576.jpg 1024w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/13.0-300x169.jpg 300w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/13.0-768x432.jpg 768w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/13.0-1536x864.jpg 1536w, https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/13.0.jpg 1920w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/p>\n<p>root@freebsd:~ # uname -a<br \/>\nFreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r357847: Thu Feb 13 04:44:56 UTC 2020 root@releng1.nyi.freebsd.org:\/usr\/obj\/usr\/src\/amd64.amd64\/sys\/GENERIC amd64<br \/>\nroot@freebsd:~ # samba -V<br \/>\nVersion 4.10.13<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 restart<br \/>\nPerforming sanity check on Samba configuration: OK<br \/>\nStopping winbindd.<br \/>\nWaiting for PIDS: 1600.<br \/>\nStopping smbd.<br \/>\nWaiting for PIDS: 1595.<br \/>\nStopping nmbd.<br \/>\nWaiting for PIDS: 1590, 1590.<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-1678940183-1404043644-1380363875-1103 SID_USER (1)<br \/>\nroot@freebsd:~ # net ads info<br \/>\nLDAP server: 192.168.1.45<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: Fri, 14 Feb 2020 11:36:18 JST<br \/>\nKDC server: 192.168.1.45<br \/>\nServer time offset: -3<br \/>\nLast machine account password change: Fri, 14 Feb 2020 11:35:32 JST<br \/>\nroot@freebsd:~ # host -4 dc<br \/>\ndc.test.jp has address 192.168.1.39<br \/>\ndc.test.jp has address 192.168.1.45<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:1911:c150:a1a4:ec24<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:f0b6:ef83:7301:d109<br \/>\nroot@freebsd:~ # host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.156<br \/>\ndc1.test.jp has IPv6 address 2400:4052:46e0:b700:ad7c:4cdc:822b:97d1<br \/>\nroot@freebsd:~ # host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.157<br \/>\ndc2.test.jp has IPv6 address 2400:4052:46e0:b700:98c3:a37e:341c:8589<br \/>\nroot@freebsd:~ # smbclient -L localhost -U%<\/p>\n<p>Sharename Type Comment<br \/>\n&#8212;&#8212;&#8212; &#8212;- &#8212;&#8212;-<br \/>\nnetlogon Disk<br \/>\nsysvol Disk<br \/>\nIPC$ IPC IPC Service (Samba 4.10.13)<br \/>\nReconnecting with SMB1 for workgroup listing.<\/p>\n<p>Server Comment<br \/>\n&#8212;&#8212;&#8212; &#8212;&#8212;-<br \/>\nFREEBSD Samba 4.10.13<\/p>\n<p>Workgroup Master<br \/>\n&#8212;&#8212;&#8212; &#8212;&#8212;-<br \/>\nTEST FREEBSD<br \/>\nroot@freebsd:~ # smbclient -L localhost -U%<\/p>\n<p><a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/FreeBSD-13.0-CURRENT-0-r357847-Samba4.10.3-Windows-Server-2019-Datacenter-Active-Directory-Domain\u306e\u30e1\u30f3\u30d0\u30fc\u306b\u53c2\u52a0\u3057\u3066\u307f\u305f.txt\">FreeBSD 13.0-CURRENT #0 r357847 Samba4.10.3 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:~ # uname -a FreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r357847: Thu Feb 13 04:44:56 UT &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=503\">\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-503","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\/503","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=503"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":514,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/503\/revisions\/514"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}