{"id":12115,"date":"2020-01-12T13:53:01","date_gmt":"2020-01-12T04:53:01","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=12115"},"modified":"2022-08-10T08:37:59","modified_gmt":"2022-08-09T23:37:59","slug":"freebsd-13-0-current-r349909-samba4-10-5-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=12115","title":{"rendered":"FreeBSD 13.0-CURRENT r349909 Samba4.10.5 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=\"http:\/\/wp.study3.biz\/wp-content\/uploads\/2019\/07\/fbs-13-300x169.jpg\" alt=\"\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-19991\" \/><br \/>\nroot@fbsd13:~ # kinit administrator<br \/>\nadministrator@TEST.JP&#8217;s Password:<br \/>\nroot@fbsd13:~ # net ads join -U administrator<br \/>\nEnter administrator&#8217;s password:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;FBSD13&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for fbsd13. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\nroot@fbsd13:~ # service samba_server start<br \/>\nPerforming sanity check on Samba configuration: OK<br \/>\nStarting nmbd.<br \/>\nStarting smbd.<br \/>\nStarting winbindd.<br \/>\nroot@fbsd13:~ # wbinfo -u<br \/>\nTEST\\administrator<br \/>\nTEST\\guest<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\nroot@fbsd13:~ # wbinfo -n administrator<br \/>\nS-1-5-21-4283025733-908519724-3295402948-500 SID_USER (1)<br \/>\nroot@fbsd13:~ # wbinfo -n chibi<br \/>\nS-1-5-21-4283025733-908519724-3295402948-1103 SID_USER (1)<br \/>\nroot@fbsd13:~ # 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.5)<br \/>\nReconnecting with SMB1 for workgroup listing.<\/p>\n<p>        Server               Comment<br \/>\n        &#8212;&#8212;&#8212;            &#8212;&#8212;-<br \/>\n        FBSD13               Samba 4.10.5<\/p>\n<p>        Workgroup            Master<br \/>\n        &#8212;&#8212;&#8212;            &#8212;&#8212;-<br \/>\n        TEST<br \/>\nroot@fbsd13:~ # net ads info<br \/>\nLDAP server: 192.168.1.10<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: Sat, 13 Jul 2019 08:45:23 JST<br \/>\nKDC server: 192.168.1.10<br \/>\nServer time offset: -8<br \/>\nLast machine account password change: Sat, 13 Jul 2019 17:42:47 JST<br \/>\nroot@fbsd13:~ # host -4 dc<br \/>\ndc.test.jp has address 192.168.1.10<br \/>\ndc.test.jp has address 192.168.1.58<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:b03b:d3b7:8519:54be<br \/>\ndc.test.jp has IPv6 address 2400:4052:46e0:b700:cc6c:3df7:45e4:e985<br \/>\nroot@fbsd13:~ # host -4 dc1<br \/>\ndc1.test.jp has address 192.168.1.60<br \/>\ndc1.test.jp has IPv6 address 2400:4052:46e0:b700:9d2:83b4:4031:14cf<br \/>\nroot@fbsd13:~ # host -4 dc2<br \/>\ndc2.test.jp has address 192.168.1.61<br \/>\ndc2.test.jp has IPv6 address 2400:4052:46e0:b700:f0b7:1338:1a03:19fd<br \/>\nroot@fbsd13:~ # 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 dc1.test.jp.<br \/>\n_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.<br \/>\nroot@fbsd13:~ # host -t SRV _kerberos._udp.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 dc.test.jp.<br \/>\n_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.<br \/>\nroot@fbsd13:~ # host -t A test.jp<br \/>\ntest.jp has address 192.168.1.10<br \/>\ntest.jp has address 192.168.1.58<br \/>\ntest.jp has address 192.168.1.60<br \/>\ntest.jp has address 192.168.1.61<br \/>\nroot@fbsd13:~ # uname -a<br \/>\nFreeBSD fbsd13 13.0-CURRENT FreeBSD 13.0-CURRENT r349909 GENERIC  amd64<br \/>\nroot@fbsd13:~ # samba -V<br \/>\nVersion 4.10.5<br \/>\nroot@fbsd13:~ # smbclient -L localhost -U%<br \/>\n<a href=\"http:\/\/wp.study3.biz\/wp-content\/uploads\/2019\/07\/92e7f14a7d27400b7222e8241a1677bd.txt\">FreeBSD 13.0-CURRENT r349909 Samba4.10.5 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@fbsd13:~ # kinit administrator administrator@TEST.JP&#8217;s Password: root@fbsd13:~ # net ads join -U ad &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=12115\">\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-12115","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\/12115","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=12115"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/12115\/revisions"}],"predecessor-version":[{"id":12119,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/12115\/revisions\/12119"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}