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


[root@rhel8 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@rhel8 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘RHEL8’ to dns domain ‘test.jp’
No DNS domain configured for rhel8. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@rhel8 ~]# systemctl restart winbind
[root@rhel8 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@rhel8 ~]# wbinfo -n administrator
S-1-5-21-484203184-1642524679-1101545312-500 SID_USER (1)
[root@rhel8 ~]# 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: 土, 20 3月 2021 04:45:40 JST
KDC server: 192.168.1.26
Server time offset: -3
Last machine account password change: 土, 20 3月 2021 04:45:09 JST
[root@rhel8 ~]# host -4 dc
dc.test.jp has address 192.168.1.24
dc.test.jp has address 192.168.1.23
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@rhel8 ~]# 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@rhel8 ~]# 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@rhel8 ~]# 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@rhel8 ~]# 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@rhel8 ~]# host -t A test.jp
test.jp has address 192.168.1.23
test.jp has address 192.168.1.25
test.jp has address 192.168.1.26
test.jp has address 192.168.1.24
[root@rhel8 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.3 (Ootpa)
[root@rhel8 ~]# smbd -V
Version 4.12.3
[root@rhel8 ~]# smbclient //192.168.1.23/netlogon -Uadministrator
Red Hat Enterprise Linux release 8.3 Samba4.12.3 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

コメントする

Debian10.8 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.26
LDAP server name: dc2.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 土, 20 3月 2021 05:00:32 JST
KDC server: 192.168.1.26
Server time offset: -2
Last machine account password change: 土, 20 3月 2021 04:59:41 JST
root@debian:~# host -4 dc
dc.test.jp has address 192.168.1.23
dc.test.jp has address 192.168.1.24
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@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 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@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.23
test.jp has address 192.168.1.24
test.jp has address 192.168.1.26
test.jp has address 192.168.1.25
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.8
root@debian:~# samba -V
Version 4.9.5-Debian
root@debian:~# smbclient -L localhost -U%
Debian10.8 Samba4.9.5 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

コメントする

PHP 8.1.0 alpha3 が公開


PHP 8.1.0 alpha3 が公開されました。関連記事はこちらとこちらです。

コメントする

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


kinit administrator
Password for administrator@TEST.JP:
[manjaro ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘MANJARO’ to dns domain ‘test.jp’
No DNS domain configured for manjaro. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[manjaro ~]# systemctl enable winbind
Created symlink /etc/systemd/system/multi-user.target.wants/winbind.service → /usr/lib/systemd/system/winbind.service.
[manjaro ~]# systemctl restart winbind
[manjaro ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[manjaro ~]# wbinfo -n chibi
S-1-5-21-484203184-1642524679-1101545312-1103 SID_USER (1)
[manjaro ~]# net ads info
LDAP server: 0.0.0.0
LDAP server name: (null)
Realm: (null)
Bind Path: (null)
LDAP port: 0
Server time: 金, 19 3月 2021 15:34:03 JST
KDC server: 192.168.1.26
Server time offset: -2
Last machine account password change: 木, 01 1月 1970 09:00:00 JST
[manjaro ~]# host -4 dc
dc.test.jp has address 192.168.1.23
dc.test.jp has address 192.168.1.24
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
[manjaro ~]# 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
[manjaro ~]# 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
[manjaro ~]# 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.
[manjaro ~]# 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.
[manjaro ~]# host -t A test.jp
test.jp has address 192.168.1.26
test.jp has address 192.168.1.25
test.jp has address 192.168.1.23
test.jp has address 192.168.1.24
[manjaro ~]# cat /etc/os-release
NAME=”Manjaro Linux”
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
PRETTY_NAME=”Manjaro Linux”
ANSI_COLOR=”32;1;24;144;200″
HOME_URL=”https://manjaro.org/”
DOCUMENTATION_URL=”https://wiki.manjaro.org/”
SUPPORT_URL=”https://manjaro.org/”
BUG_REPORT_URL=”https://bugs.manjaro.org/”
LOGO=manjarolinux
[manjaro ~]# samba -V
Version 4.14.0
[manjaro ~]# smbclient //192.168.1.23/netlogon -Uadministrator
Manjaro Linux Samba4.14.0 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

コメントする

Manjaro Linux Samba4.14.0 Update

Manjaro Linux Sambaが4.14.0にUpdateされました。

[manjaro ~]# uname -r
5.10.23-1-MANJARO
[manjaro ~]# php -v
PHP 8.0.3 (cli) (built: Mar 4 2021 05:33:14) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.3, Copyright (c) Zend Technologies
[manjaro ~]# curl -V
curl 7.75.0 (x86_64-pc-linux-gnu) libcurl/7.75.0 OpenSSL/1.1.1j zlib/1.2.11 zstd/1.4.9 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0
Release-Date: 2021-02-03
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets zstd
[manjaro ~]# samba -V
Version 4.14.0
[manjaro ~]# cat /etc/os-release
NAME=”Manjaro Linux”
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
PRETTY_NAME=”Manjaro Linux”
ANSI_COLOR=”32;1;24;144;200″
HOME_URL=”https://manjaro.org/”
DOCUMENTATION_URL=”https://wiki.manjaro.org/”
SUPPORT_URL=”https://manjaro.org/”
BUG_REPORT_URL=”https://bugs.manjaro.org/”
LOGO=manjarolinux
[manjaro ~]#

コメントする