{"id":23356,"date":"2024-12-23T04:42:55","date_gmt":"2024-12-22T19:42:55","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=23356"},"modified":"2025-12-13T18:05:23","modified_gmt":"2025-12-13T09:05:23","slug":"ubuntu-22-04-5-lts-samba4-15-13-%e3%81%a7amd-epyc-77633-64-core-processor-128gb%e3%81%ab%e6%a7%8b%e7%af%89%e3%81%97%e3%81%9f-windows-server-2025-datacenter-active-directory-domain-%e3%81%ae%e3%83%a1","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=23356","title":{"rendered":"Ubuntu 22.04.5 LTS Samba4.15.13 \u3067\u7b2c3\u4e16\u4ee3 AMD EPYC 7763 64-Core Processor 128GB\u306b\u69cb\u7bc9\u3057\u305f Windows Server 2025 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\/2024\/12\/2204.jpg\" alt=\"\" width=\"3840\" height=\"2160\" class=\"alignnone size-full wp-image-23366\" \/><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-05-12-35-53.jpg\" alt=\"\" width=\"1024\" height=\"576\" class=\"alignnone size-full wp-image-19484\" \/><\/p>\n<p>root@2204:~# kinit administrator<br \/>\nPassword for administrator@TEST.JP:<br \/>\nWarning: Your password will expire in less than one hour on 2100\u5e7409\u670814\u65e5 11\u664248\u520605\u79d2<br \/>\nroot@2204:~# net ads join -U administrator<br \/>\nPassword for [TEST\\administrator]:<br \/>\nUsing short domain name &#8212; TEST<br \/>\nJoined &#8216;2204&#8217; to dns domain &#8216;test.jp&#8217;<br \/>\nNo DNS domain configured for 2204. Unable to perform DNS Update.<br \/>\nDNS update failed: NT_STATUS_INVALID_PARAMETER<br \/>\nroot@2204:~# systemctl restart winbind<br \/>\nroot@2204:~# wbinfo -u<br \/>\nTEST\\administrator<br \/>\nTEST\\guest<br \/>\nTEST\\w11<br \/>\nTEST\\krbtgt<br \/>\nTEST\\chibi<br \/>\nroot@2204:~# wbinfo -n chibi<br \/>\nS-1-5-21-2588218054-2522920912-1718821798-1104 SID_USER (1)<br \/>\nroot@2204:~# net ads info<br \/>\nLDAP server: 192.168.1.48<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: \u65e5, 22 12\u6708 2024 12:05:11 JST<br \/>\nKDC server: 192.168.1.48<br \/>\nServer time offset: 1<br \/>\nLast machine account password change: \u65e5, 22 12\u6708 2024 12:04:11 JST<br \/>\nroot@2204:~# host -t SRV _ldap._tcp.test.jp<br \/>\n_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.<br \/>\nroot@2204:~# host -t SRV _lerberos._udp.test.jp<br \/>\nHost _lerberos._udp.test.jp not found: 3(NXDOMAIN)<br \/>\nroot@2204:~# host -t SRV _kerberos._udp.test.jp<br \/>\n_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.<br \/>\nroot@2204:~# host -t A test.jp<br \/>\ntest.jp has address 192.168.1.48<br \/>\ntest.jp has address 192.168.1.49<br \/>\nroot@2204:~# cat \/etc\/os-release<br \/>\nPRETTY_NAME=&#8221;Ubuntu 22.04.5 LTS&#8221;<br \/>\nNAME=&#8221;Ubuntu&#8221;<br \/>\nVERSION_ID=&#8221;22.04&#8243;<br \/>\nVERSION=&#8221;22.04.5 LTS (Jammy Jellyfish)&#8221;<br \/>\nVERSION_CODENAME=jammy<br \/>\nID=ubuntu<br \/>\nID_LIKE=debian<br \/>\nHOME_URL=&#8221;https:\/\/www.ubuntu.com\/&#8221;<br \/>\nSUPPORT_URL=&#8221;https:\/\/help.ubuntu.com\/&#8221;<br \/>\nBUG_REPORT_URL=&#8221;https:\/\/bugs.launchpad.net\/ubuntu\/&#8221;<br \/>\nPRIVACY_POLICY_URL=&#8221;https:\/\/www.ubuntu.com\/legal\/terms-and-policies\/privacy-policy&#8221;<br \/>\nUBUNTU_CODENAME=jammy<br \/>\nroot@2204:~# samba -V<br \/>\nVersion 4.15.13-Ubuntu<br \/>\nroot@2204:~# smbclient \/\/192.168.1.48\/netlogon -Uadministrator<br \/>\nPassword for [TEST\\administrator]:<br \/>\nTry &#8220;help&#8221; to get a list of possible commands.<br \/>\nsmb: \\> ls<br \/>\n  .                                   D        0  Sat Dec 21 05:58:06 2024<br \/>\n  ..                                  D        0  Sat Dec 21 06:09:10 2024<\/p>\n<p>                124813055 blocks of size 4096. 116163169 blocks available<br \/>\nsmb: \\> exit<br \/>\nroot@2204:~# smbclient \/\/192.168.1.48\/sysvol -Uadministrator<br \/>\nPassword for [TEST\\administrator]:<br \/>\nTry &#8220;help&#8221; to get a list of possible commands.<br \/>\nsmb: \\> ls<br \/>\n  .                                   D        0  Sat Dec 21 05:58:06 2024<br \/>\n  ..                                  D        0  Sat Dec 21 05:58:06 2024<br \/>\n  test.jp                            Dr        0  Sat Dec 21 05:58:06 2024<\/p>\n<p>                124813055 blocks of size 4096. 116163101 blocks available<br \/>\nsmb: \\> exit<br \/>\nroot@2204:~# net ads lookup<br \/>\nInformation for Domain Controller: 192.168.1.48<\/p>\n<p>Response Type: LOGON_SAM_LOGON_RESPONSE_EX<br \/>\nGUID: ff03c474-80bd-410b-a4c9-5f15a4958556<br \/>\nFlags:<br \/>\n        Is a PDC:                                   yes<br \/>\n        Is a GC of the forest:                      yes<br \/>\n        Is an LDAP server:                          yes<br \/>\n        Supports DS:                                yes<br \/>\n        Is running a KDC:                           yes<br \/>\n        Is running time services:                   yes<br \/>\n        Is the closest DC:                          yes<br \/>\n        Is writable:                                yes<br \/>\n        Has a hardware clock:                       yes<br \/>\n        Is a non-domain NC serviced by LDAP server: no<br \/>\n        Is NT6 DC that has some secrets:            no<br \/>\n        Is NT6 DC that has all secrets:             yes<br \/>\n        Runs Active Directory Web Services:         yes<br \/>\n        Runs on Windows 2012 or later:              yes<br \/>\nForest: test.jp<br \/>\nDomain: test.jp<br \/>\nDomain Controller: dc.test.jp<br \/>\nPre-Win2k Domain: TEST<br \/>\nPre-Win2k Hostname: DC<br \/>\nServer Site Name: Default-First-Site-Name<br \/>\nClient Site Name: Default-First-Site-Name<br \/>\nNT Version: 5<br \/>\nLMNT Token: ffff<br \/>\nLM20 Token: ffff<br \/>\nroot@2204:~# dig test.jp<\/p>\n<p>; <<>> DiG 9.18.28-0ubuntu0.22.04.1-Ubuntu <<>> test.jp<br \/>\n;; global options: +cmd<br \/>\n;; Got answer:<br \/>\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31744\n;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1\n\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 4000\n;; QUESTION SECTION:\n;test.jp.                       IN      A\n\n;; ANSWER SECTION:\ntest.jp.                600     IN      A       192.168.1.49\ntest.jp.                600     IN      A       192.168.1.48\n\n;; Query time: 1 msec\n;; SERVER: 192.168.1.48#53(192.168.1.48) (UDP)\n;; WHEN: Sun Dec 22 12:10:06 JST 2024\n;; MSG SIZE  rcvd: 68\n\nroot@2204:~# klist\nTicket cache: FILE:\/tmp\/krb5cc_0\nDefault principal: administrator@TEST.JP\n\nValid starting       Expires              Service principal\n2024-12-22T12:02:59  2024-12-22T22:02:59  krbtgt\/TEST.JP@TEST.JP\n        renew until 2024-12-23T12:02:52\nroot@2204:~#  wbinfo -t\nchecking the trust secret for domain TEST via RPC calls succeeded\nroot@2204:~# \n\u3057\u3087\u3046\u3055\u3044\u306f\u3053\u3061\u3089\u3067\u3059\u3002\n<a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2024\/12\/fd399c6171017b053fe3201e82083934.txt\">Ubuntu 22.04.5 LTS Samba4.15.13 \u3067AMD EPYC 77633 64-Core Processor 128GB\u306b\u69cb\u7bc9\u3057\u305f Windows Server 2025 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@2204:~# kinit administrator Password for administrator@TEST.JP: Warning: Your password will expire in les &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=23356\">\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":[17,10],"tags":[],"class_list":["post-23356","post","type-post","status-publish","format-standard","hentry","category-ubuntu","category-windows"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/23356","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=23356"}],"version-history":[{"count":6,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/23356\/revisions"}],"predecessor-version":[{"id":29092,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/23356\/revisions\/29092"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}