{"id":2290,"date":"2020-07-04T03:25:44","date_gmt":"2020-07-03T18:25:44","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=2290"},"modified":"2020-07-04T03:26:31","modified_gmt":"2020-07-03T18:26:31","slug":"freebsd-12-0-release-r341666-samba4-10-13-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=2290","title":{"rendered":"FreeBSD 12.0-RELEASE r341666 Samba4.10.13 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\/2020\/05\/freebsd-1.jpg\" alt=\"\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-2294\" \/><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 \/>\nCannot &#8216;start&#8217; samba_server. Set samba_server_enable to YES in \/etc\/rc.conf or use &#8216;onestart&#8217; instead of &#8216;start&#8217;.<br \/>\nroot@freebsd:~ # [A<br \/>\n[A: Command not found.<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\\guest<br \/>\nTEST\\administrator<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\nroot@freebsd:~ # wbinfo -n chibi<br \/>\nS-1-5-21-1338043187-543128080-716805463-1103 SID_USER (1)<br \/>\nroot@freebsd:~ # net ads info<br \/>\nLDAP server: 192.168.1.52<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: Thu, 21 May 2020 08:01:07 JST<br \/>\nKDC server: 192.168.1.52<br \/>\nServer time offset: -4<br \/>\nLast machine account password change: Thu, 21 May 2020 07:58:26 JST<br \/>\nroot@freebsd:~ # host -4 dc<br \/>\ndc.test.jp has address 192.168.1.22<br \/>\ndc.test.jp has address 192.168.1.50<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:6c93:6e17:d80a:402a<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:510e:dc01:6191:1b17<br \/>\nroot@freebsd:~ # host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.51<br \/>\ndc1.test.jp has IPv6 address 2400:4052:46e0:b700:c48d:6b3f:5045:7e5d<br \/>\nroot@freebsd:~ # host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.52<br \/>\ndc2.test.jp has IPv6 address 2400:4052:46e0:b700:f873:92b7:61f7:48f8<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.10.13)<br \/>\nReconnecting with SMB1 for workgroup listing.<\/p>\n<p>        Server               Comment<br \/>\n        &#8212;&#8212;&#8212;            &#8212;&#8212;-<br \/>\n        DC<br \/>\n        FREEBSD              Samba 4.10.13<\/p>\n<p>        Workgroup            Master<br \/>\n        &#8212;&#8212;&#8212;            &#8212;&#8212;-<br \/>\n        TEST                 DC<br \/>\nroot@freebsd:~ # smbclient \/\/192.168.1.22\/netlogon -Uadministrator<br \/>\n<a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/05\/e33387048b4a4e86ca2a0ee57a937535.txt\">FreeBSD 12.0-RELEASE r341666 Samba4.10.13 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=2290\">\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-2290","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\/2290","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=2290"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/2290\/revisions"}],"predecessor-version":[{"id":2296,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/2290\/revisions\/2296"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}