Arch Linux Samba4.14.4 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた


[root@archlinux ~]# kinit administrator
Password for administrator@TEST.JP:
[root@archlinux ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘ARCHLINUX’ to dns domain ‘test.jp’
No DNS domain configured for archlinux. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@archlinux ~]# systemctl enable winbind
Created symlink /etc/systemd/system/multi-user.target.wants/winbind.service → /usr/lib/systemd/system/winbind.service.
[root@archlinux ~]# systemctl restart winbind
[root@archlinux ~]# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
[root@archlinux ~]# wbinfo -n administrator
S-1-5-21-484203184-1642524679-1101545312-500 SID_USER (1)
[root@archlinux ~]# net ads info
LDAP server: 192.168.1.23
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Mon, 03 May 2021 01:44:17 UTC
KDC server: 192.168.1.23
Server time offset: -10
Last machine account password change: Mon, 03 May 2021 01:43:31 UTC
[root@archlinux ~]# host -4 dc
-bash: host: command not found
[root@archlinux ~]# host -4 dc
dc.test.jp has address 192.168.1.23
dc.test.jp has address 192.168.1.19
dc.test.jp has IPv6 address 2400:4052:46e0:b700:308d:e06c:bc1a:f2ee
dc.test.jp has IPv6 address 2400:4052:46e0:b700:1009:e903:454a:cf65
[root@archlinux ~]# host -4 dc1
dc1.test.jp has address 192.168.1.25
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:fc57:2ec0:103f:1316
[root@archlinux ~]# host -4 dc2
dc2.test.jp has address 192.168.1.26
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:41e4:9a22:b80c:e558
[root@archlinux ~]# 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 dc1.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
[root@archlinux ~]# host -t SRV _kerberos._udp.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.
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.
[root@archlinux ~]# host -t A test.jp
test.jp has address 192.168.1.25
test.jp has address 192.168.1.23
test.jp has address 192.168.1.19
test.jp has address 192.168.1.26
[root@archlinux ~]# cat /etc/os-release
NAME=”Arch Linux”
PRETTY_NAME=”Arch Linux”
ID=arch
BUILD_ID=rolling
ANSI_COLOR=”38;2;23;147;209″
HOME_URL=”https://www.archlinux.org/”
DOCUMENTATION_URL=”https://wiki.archlinux.org/”
SUPPORT_URL=”https://bbs.archlinux.org/”
BUG_REPORT_URL=”https://bugs.archlinux.org/”
LOGO=archlinux
[root@archlinux ~]# samba -V
Version 4.14.4
[root@archlinux ~]# smbclient //192.168.1.19/netlogon -Uadministrator
Arch Linux Samba4.14.4 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

Fedora release 35 Samba4.14.4 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた


[root@f35 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f35 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘F35’ to dns domain ‘test.jp’
No DNS domain configured for f35. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@f35 ~]# systemctl restart winbind
[root@f35 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@f35 ~]# wbinfo -n chibi
S-1-5-21-484203184-1642524679-1101545312-1103 SID_USER (1)
[root@f35 ~]# net ads info
LDAP server: 0.0.0.0
LDAP server name: (null)
Realm: (null)
Bind Path: (null)
LDAP port: 0
Server time: 月, 03 5月 2021 10:20:34 JST
KDC server: 192.168.1.25
Server time offset: -10
Last machine account password change: 木, 01 1月 1970 09:00:00 JST
[root@f35 ~]# host -4 dc
dc.test.jp has address 192.168.1.23
dc.test.jp has address 192.168.1.19
dc.test.jp has IPv6 address 2400:4052:46e0:b700:1009:e903:454a:cf65
dc.test.jp has IPv6 address 2400:4052:46e0:b700:308d:e06c:bc1a:f2ee
[root@f35 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.25
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:fc57:2ec0:103f:1316
[root@f35 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.26
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:41e4:9a22:b80c:e558
[root@f35 ~]# 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 dc2.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.
[root@f35 ~]# host -t SRV _kerberos._udp.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.
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.
[root@f35 ~]# host -t A test.jp
test.jp has address 192.168.1.26
test.jp has address 192.168.1.23
test.jp has address 192.168.1.25
test.jp has address 192.168.1.19
[root@f35 ~]# cat /etc/redhat-release
Fedora release 35 (Rawhide)
[root@f35 ~]# samba -V
Version 4.14.4
[root@f35 ~]# smbclient //192.168.1.19/netlogon -Uadministrator
Fedora release 35 Samba4.14.4 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

FreeBSD 13.0-STABLE PHP 8.0.3 Update

FreeBSD 13.0-STABLE PHPが8.0.3にUpdateされました。

root@freebsd:~ # uname -a
FreeBSD freebsd 13.0-STABLE FreeBSD 13.0-STABLE #0 stable/13-n245438-d7682961d38: Thu Apr 29 05:38:51 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
root@freebsd:~ # php -v
PHP 8.0.3 (cli) (built: Apr 15 2021 01:21:19) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.3, Copyright (c) Zend Technologies
root@freebsd:~ # curl -V
curl 7.76.1 (amd64-portbld-freebsd13.0) libcurl/7.76.1 OpenSSL/1.1.1k zlib/1.2.11 nghttp2/1.43.0
Release-Date: 2021-04-14
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz NTLM NTLM_WB SPNEGO SSL TLS-SRP UnixSockets
root@freebsd:~ # samba -V
Version 4.13.7
root@freebsd:~ #

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

Debian10.9 Samba4.9.5 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた


root@debian:~# kinit administrator
Password for administrator@TEST.JP:
root@debian:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘DEBIAN’ to dns domain ‘test.jp’
No DNS domain configured for debian. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@debian:~# systemctl restart winbind
root@debian:~# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
root@debian:~# wbinfo -n chibi
S-1-5-21-484203184-1642524679-1101545312-1103 SID_USER (1)
root@debian:~# net ads info
LDAP server: 192.168.1.25
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 月, 03 5月 2021 09:37:53 JST
KDC server: 192.168.1.25
Server time offset: -10
Last machine account password change: 月, 03 5月 2021 09:36:52 JST
root@debian:~# host -4 dc
dc.test.jp has address 192.168.1.19
dc.test.jp has address 192.168.1.23
dc.test.jp has IPv6 address 2400:4052:46e0:b700:1009:e903:454a:cf65
dc.test.jp has IPv6 address 2400:4052:46e0:b700:308d:e06c:bc1a:f2ee
root@debian:~# host -4 dc1
dc1.test.jp has address 192.168.1.25
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:fc57:2ec0:103f:1316
root@debian:~# host -4 dc2
dc2.test.jp has address 192.168.1.26
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:41e4:9a22:b80c:e558
root@debian:~# 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 dc1.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
root@debian:~# 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@debian:~# host -t A test.jp
test.jp has address 192.168.1.26
test.jp has address 192.168.1.23
test.jp has address 192.168.1.25
test.jp has address 192.168.1.19
root@debian:~# cat /etc/os-release
PRETTY_NAME=”Debian GNU/Linux 10 (buster)”
NAME=”Debian GNU/Linux”
VERSION_ID=”10″
VERSION=”10 (buster)”
VERSION_CODENAME=buster
ID=debian
HOME_URL=”https://www.debian.org/”
SUPPORT_URL=”https://www.debian.org/support”
BUG_REPORT_URL=”https://bugs.debian.org/”
root@debian:~# cat /etc/debian_version
10.9
root@debian:~# samba -V
Version 4.9.5-Debian
root@debian:~# smbclient -L localhost -U%
Debian10.9 Samba4.9.5 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

AlmaLinux release 8.4 Beta Samba4.13.3 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた


[root@alma8 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@alma8 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘ALMA8’ to dns domain ‘test.jp’
No DNS domain configured for alma8. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@alma8 ~]# systemctl restart winbind
[root@alma8 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@alma8 ~]# wbinfo -n chibi
S-1-5-21-484203184-1642524679-1101545312-1103 SID_USER (1)
[root@alma8 ~]# net ads info
LDAP server: 192.168.1.26
LDAP server name: dc2.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 月, 03 5月 2021 09:57:21 JST
KDC server: 192.168.1.26
Server time offset: -10
Last machine account password change: 月, 03 5月 2021 09:56:55 JST
[root@alma8 ~]# host -4 dc
dc.test.jp has address 192.168.1.23
dc.test.jp has address 192.168.1.19
dc.test.jp has IPv6 address 2400:4052:46e0:b700:1009:e903:454a:cf65
dc.test.jp has IPv6 address 2400:4052:46e0:b700:308d:e06c:bc1a:f2ee
[root@alma8 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.25
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:fc57:2ec0:103f:1316
[root@alma8 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.26
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:41e4:9a22:b80c:e558
[root@alma8 ~]# host -t SRV _ldap._udp.test.jp
Host _ldap._udp.test.jp not found: 3(NXDOMAIN)
[root@alma8 ~]# 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.
_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.
[root@alma8 ~]# host -t SRV _kerberos._udp.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.
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.
[root@alma8 ~]# host -t A test.jp
test.jp has address 192.168.1.19
test.jp has address 192.168.1.25
test.jp has address 192.168.1.26
test.jp has address 192.168.1.23
[root@alma8 ~]# cat /etc/redhat-release
AlmaLinux release 8.4 Beta (Electric Cheetah)
[root@alma8 ~]# smbd -V
Version 4.13.3
[root@alma8 ~]# smbclient //192.168.1.19/netlogon -Uadministrator
AlmaLinux release 8.4 Beta Samba4.13.3 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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