MIRACLE LINUX release 8.7 Samba4.16.4 AMD EPYC 7H12 64-Core Processor 128GBに構築した Windows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた

[root@miracle8 ~]# kinit administrator
Password for administrator@TEST.JP:
kinit: Password incorrect while getting initial credentials
[root@miracle8 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@miracle8 ~]# net ads join -U administrator
Password for [TEST\administrator]:
Using short domain name — TEST
Joined ‘MIRACLE8’ to dns domain ‘test.jp’
No DNS domain configured for miracle8. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@miracle8 ~]# systemctl restart winbind
[root@miracle8 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@miracle8 ~]# wbinfo -n chibi
S-1-5-21-2616050446-4161308902-565532921-1105 SID_USER (1)
[root@miracle8 ~]# net ads info
LDAP server: 192.168.1.51
LDAP server name: dc2.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 金, 31 3月 2023 12:48:29 JST
KDC server: 192.168.1.51
Server time offset: -1
Last machine account password change: 金, 31 3月 2023 12:47:59 JST
[root@miracle8 ~]# host -4 dc
dc.test.jp has address 192.168.1.9
dc.test.jp has address 192.168.1.29
dc.test.jp has IPv6 address 2400:4052:46e0:b700:959b:b841:cfdb:a65d
dc.test.jp has IPv6 address 2400:4052:46e0:b700:3995:4c0f:ebfe:489e
[root@miracle8 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.50
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:a595:967d:2d81:4f17
[root@miracle8 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.51
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:3d51:aa6b:56b:2681
[root@miracle8 ~]# host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.
[root@miracle8 ~]# host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.
[root@miracle8 ~]# host -t A test.jp
test.jp has address 192.168.1.29
test.jp has address 192.168.1.50
test.jp has address 192.168.1.9
test.jp has address 192.168.1.51
[root@miracle8 ~]# cat /etc/redhat-release
MIRACLE LINUX release 8.7 (Peony)
[root@miracle8 ~]# smbd -V
Version 4.16.4
[root@miracle8 ~]# smbclient //192.168.1.9/netlogon -Uadministrator
MIRACLE LINUX release 8.7 Samba4.16.4 AMD EPYC 7H12 64-Core Processor 128GBに構築した Windows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた

カテゴリー: miracle, samba4, windows | コメントする

Rocky Linux release 9.1 Samba4.16.4 AMD EPYC 7H12 64-Core Processor 128GBに構築した Windows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた

[root@rocky9 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@rocky9 ~]# net ads join -U administrator
Password for [TEST\administrator]:
Using short domain name — TEST
Joined ‘ROCKY9’ to dns domain ‘test.jp’
No DNS domain configured for rocky9. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@rocky9 ~]# systemctl restart winbind
[root@rocky9 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@rocky9 ~]# wbinfo -n chibi
S-1-5-21-2616050446-4161308902-565532921-1105 SID_USER (1)
[root@rocky9 ~]# net ads info
LDAP server: 192.168.1.50
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 金, 31 3月 2023 07:07:03 JST
KDC server: 192.168.1.50
Server time offset: -1
Last machine account password change: 金, 31 3月 2023 07:06:24 JST
[root@rocky9 ~]# host -4 dc
dc.test.jp has address 192.168.1.9
dc.test.jp has address 192.168.1.29
dc.test.jp has IPv6 address 2400:4052:46e0:b700:3995:4c0f:ebfe:489e
dc.test.jp has IPv6 address 2400:4052:46e0:b700:959b:b841:cfdb:a65d
[root@rocky9 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.50
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:a595:967d:2d81:4f17
[root@rocky9 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.51
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:3d51:aa6b:56b:2681
[root@rocky9 ~]# host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.
[root@rocky9 ~]# host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.
[root@rocky9 ~]# host -t A test.jp
test.jp has address 192.168.1.9
test.jp has address 192.168.1.50
test.jp has address 192.168.1.51
test.jp has address 192.168.1.29
[root@rocky9 ~]# cat /etc/redhat-release
Rocky Linux release 9.1 (Blue Onyx)
[root@rocky9 ~]# smbd -V
Version 4.16.4
[root@rocky9 ~]# smbclient //192.168.1.9/netlogon -Uadministrator
Rocky Linux release 9.1 Samba4.16.4 AMD EPYC 7H12 64-Core Processor 128GBに構築した Windows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた

カテゴリー: rocky, samba4, windows | コメントする

CentOS Stream release 9 Samba4.17.5 AMD EPYC 7H12 64-Core Processor 128GBに構築した Windows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた

[root@stream9 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@stream9 ~]# net ads join -U administrator
Password for [TEST\administrator]:
Using short domain name — TEST
Joined ‘STREAM9’ to dns domain ‘test.jp’
No DNS domain configured for stream9. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@stream9 ~]# systemctl restart winbind
[root@stream9 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
[root@stream9 ~]# wbinfo -n chibi
failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND
Could not lookup name chibi
[root@stream9 ~]# wbinfo -n chibi
failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND
Could not lookup name chibi
[root@stream9 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
[root@stream9 ~]# wbinfo -n chibi
S-1-5-21-2616050446-4161308902-565532921-1105 SID_USER (1)
[root@stream9 ~]# net ads info
LDAP server: 192.168.1.51
LDAP server name: dc2.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 金, 31 3月 2023 06:28:30 JST
KDC server: 192.168.1.51
Server time offset: 0
Last machine account password change: 金, 31 3月 2023 06:21:51 JST
[root@stream9 ~]# host -4 dc
dc.test.jp has address 192.168.1.9
dc.test.jp has address 192.168.1.29
dc.test.jp has IPv6 address 2400:4052:46e0:b700:3995:4c0f:ebfe:489e
dc.test.jp has IPv6 address 2400:4052:46e0:b700:959b:b841:cfdb:a65d
[root@stream9 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.50
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:a595:967d:2d81:4f17
[root@stream9 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.51
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:3d51:aa6b:56b:2681
[root@stream9 ~]# host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.
[root@stream9 ~]# host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
[root@stream9 ~]# host -t A test.jp
test.jp has address 192.168.1.51
test.jp has address 192.168.1.9
test.jp has address 192.168.1.29
test.jp has address 192.168.1.50
[root@stream9 ~]# cat /etc/redhat-release
CentOS Stream release 9
[root@stream9 ~]# smbd -V
Version 4.17.5
[root@stream9 ~]# smbclient //192.168.1.9/netlogon -Uadministrator
CentOS Stream release 9 Samba4.17.5 AMD EPYC 7H12 64-Core Processor 128GBに構築した Windows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた

カテゴリー: CentOS Stream release 9, samba4, windows | コメントする

Ubuntu 20.04.6 LTS Samba4.15.13 AMD EPYC 7H12 64-Core Processor 128GBに構築した Windows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた

root@2004:~# kinit administrator
Password for administrator@TEST.JP:
root@2004:~# net ads join -U administrator
Password for [TEST\administrator]:
Using short domain name — TEST
Joined ‘2004’ to dns domain ‘test.jp’
No DNS domain configured for 2004. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@2004:~# systemctl restart winbind
root@2004:~# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
root@2004:~# wbinfo -n chibi
S-1-5-21-4146484090-20972705-1600113342-1103 SID_USER (1)
root@2004:~# net ads info
LDAP server: 192.168.1.29
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 木, 30 3月 2023 11:49:31 JST
KDC server: 192.168.1.29
Server time offset: -5
Last machine account password change: 木, 30 3月 2023 11:49:01 JST
root@2204:~# host -4 dc
dc.test.jp has address 192.168.1.9
dc.test.jp has address 192.168.1.29
dc.test.jp has IPv6 address 2400:4052:46e0:b700:8972:a9a2:cd9e:8a72
dc.test.jp has IPv6 address 2400:4052:46e0:b700:ad3f:95c3:59e1:13a2
root@2004:~# host -4 dc1
dc1.test.jp has address 192.168.1.50
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:4853:34a4:e683:3f3e
root@2004:~# host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
root@2004:~# host -t SRV _kerberos._tcp.test.jp
_kerberos._tcp.test.jp has SRV record 0 100 88 dc.test.jp.
_kerberos._tcp.test.jp has SRV record 0 100 88 dc1.test.jp.
root@2004:~# host -t A test.jp
test.jp has address 192.168.1.29
test.jp has address 192.168.1.9
test.jp has address 192.168.1.50
root@2004:~# cat /etc/os-release
NAME=”Ubuntu”
VERSION=”20.04.6 LTS (Focal Fossa)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=”Ubuntu 20.04.6 LTS”
VERSION_ID=”20.04″
HOME_URL=”https://www.ubuntu.com/”
SUPPORT_URL=”https://help.ubuntu.com/”
BUG_REPORT_URL=”https://bugs.launchpad.net/ubuntu/”
PRIVACY_POLICY_URL=”https://www.ubuntu.com/legal/terms-and-policies/privacy-policy”
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
root@2004:~# samba -V
Version 4.15.13-Ubuntu
root@2004:~# smbclient //192.168.1.9/netlogon -Uadministrator
Ubuntu 20.04.6 LTS Samba4.15.13 AMD EPYC 7H12 64-Core Processor 128GBに構築した Windows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた

カテゴリー: samba4, ubuntu, windows | コメントする

Fedora release 39 (Rawhide) Kernel6.3.0-0.rc4.35.fc39.x86_64 Update

Fedora release 39 (Rawhide) Kernelが6.3.0-0.rc4.35.fc39.x86_64にUpdateされました。

[root@f39 ~]# uname -r
6.3.0-0.rc4.35.fc39.x86_64
[root@f39 ~]# php -v
PHP 8.2.4 (cli) (built: Mar 14 2023 16:11:05) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.2.4, Copyright (c) Zend Technologies
with Zend OPcache v8.2.4, Copyright (c), by Zend Technologies
[root@f39 ~]# curl -V
curl 8.0.1 (x86_64-redhat-linux-gnu) libcurl/8.0.1 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) libssh/0.10.4/openssl/zlib nghttp2/1.52.0
Release-Date: 2023-03-20
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets
[root@f39 ~]# samba -V
Version 4.18.0
[root@f39 ~]# cat /etc/redhat-release
Fedora release 39 (Rawhide)
[root@f39 ~]#

カテゴリー: fedora | コメントする