{"id":1304,"date":"2020-04-29T00:01:26","date_gmt":"2020-04-28T15:01:26","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=1304"},"modified":"2020-04-29T00:02:03","modified_gmt":"2020-04-28T15:02:03","slug":"freebsd-13-0-current-0-r359311-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=1304","title":{"rendered":"FreeBSD 13.0-CURRENT #0 r359311 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\" class=\"alignnone size-full wp-image-1313\" src=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/04\/f13.jpg\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p>\r\n<p>root@freebsd:~ # kinit administrator<br \/>administrator@TEST.JP&#8217;s Password:<br \/>root@freebsd:~ # net ads join -U administrator<br \/>Enter administrator&#8217;s password:<br \/>Using short domain name &#8212; TEST<br \/>Joined &#8216;FREEBSD&#8217; to dns domain &#8216;test.jp&#8217;<br \/>No DNS domain configured for freebsd. Unable to perform DNS Update.<br \/>DNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>root@freebsd:~ # service samba_server start<br \/>Performing sanity check on Samba configuration: OK<br \/>Starting nmbd.<br \/>Starting smbd.<br \/>Starting winbindd.<br \/>root@freebsd:~ # wbinfo -u<br \/>TEST\\guest<br \/>TEST\\administrator<br \/>TEST\\krbtgt<br \/>TEST\\chibi<br \/>root@freebsd:~ # wbinfo -n chibi<br \/>S-1-5-21-1678940183-1404043644-1380363875-1103 SID_USER (1)<br \/>root@freebsd:~ # net ads info<br \/>LDAP server: 192.168.1.157<br \/>LDAP server name: dc2.test.jp<br \/>Realm: TEST.JP<br \/>Bind Path: dc=TEST,dc=JP<br \/>LDAP port: 389<br \/>Server time: Thu, 02 Apr 2020 02:19:19 JST<br \/>KDC server: 192.168.1.157<br \/>Server time offset: -4<br \/>Last machine account password change: Thu, 02 Apr 2020 02:18:02 JST<br \/>root@freebsd:~ # smbclient -L localhost -U%<br \/>protocol negotiation failed: NT_STATUS_IO_TIMEOUT<br \/>root@freebsd:~ # smbclient -L localhost -U%<br \/>protocol negotiation failed: NT_STATUS_IO_TIMEOUT<br \/>root@freebsd:~ # host -4 dc<br \/>dc.test.jp has address 192.168.1.45<br \/>dc.test.jp has address 192.168.1.39<br \/>dc.test.jp has IPv6 address 2400:4052:46e0:b700:1911:c150:a1a4:ec24<br \/>dc.test.jp has IPv6 address 2400:4052:46e0:b700:f0b6:ef83:7301:d109<br \/>root@freebsd:~ # host -4 dc1<br \/>dc1.test.jp has address 192.168.1.156<br \/>dc1.test.jp has IPv6 address 2400:4052:46e0:b700:ad7c:4cdc:822b:97d1<br \/>root@freebsd:~ # host -4 dc2<br \/>dc2.test.jp has address 192.168.1.157<br \/>dc2.test.jp has IPv6 address 2400:4052:46e0:b700:98c3:a37e:341c:8589<br \/>root@freebsd:~ # host -t SRV _ldap._tcp.test.jp<br \/>_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.<br \/>_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.<br \/>_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.<br \/>root@freebsd:~ # host -t SRV _kerberos._udp.test.jp<br \/>_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.<br \/>_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.<br \/>_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.<br \/>root@freebsd:~ # host -t A dc.test.jp<br \/>dc.test.jp has address 192.168.1.45<br \/>dc.test.jp has address 192.168.1.39<br \/>root@freebsd:~ # host -t A dc1.test.jp<br \/>dc1.test.jp has address 192.168.1.156<br \/>root@freebsd:~ # host -t A dc2.test.jp<br \/>dc2.test.jp has address 192.168.1.157<br \/>root@freebsd:~ # smbclient -L localhost -U%<br \/>session setup failed: NT_STATUS_IO_TIMEOUT<br \/>root@freebsd:~ # smbclient -L 192.168.1.39 -U%<\/p>\r\n<p>Sharename Type Comment<br \/>&#8212;&#8212;&#8212; &#8212;- &#8212;&#8212;-<br \/>Reconnecting with SMB1 for workgroup listing.<\/p>\r\n<p><a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/04\/FreeBSD-13.0-CURRENT-0-r359311-Samba4.10.13-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 r359311 Samba4.10.13 Windows Server 2019 Datacenter Active Directory Domain \u306e\u30e1\u30f3\u30d0\u30fc\u306b\u53c2\u52a0\u3057\u3066\u307f\u305f<\/a><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>root@freebsd:~ # kinit administratoradministrator@TEST.JP&#8217;s Password:root@freebsd:~ # net ads join -U ad &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=1304\">\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-1304","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\/1304","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=1304"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/1304\/revisions"}],"predecessor-version":[{"id":1315,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/1304\/revisions\/1315"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}