CentOS Linux release 8.2.2004 Samba4.11.2 AMD EPYC 7302Pで構築したWindows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた


[root@centos8 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@centos8 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘CENTOS8’ to dns domain ‘test.jp’
No DNS domain configured for centos8. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@centos8 ~]# systemctl restart winbind
[root@centos8 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@centos8 ~]# wbinfo -n chibi
S-1-5-21-4252828235-1945649609-3318306072-1103 SID_USER (1)
[root@centos8 ~]# net ads info
LDAP server: 192.168.1.30
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 水, 09 9月 2020 04:22:32 JST
KDC server: 192.168.1.30
Server time offset: -2
Last machine account password change: 水, 09 9月 2020 04:21:23 JST
[root@centos8 ~]# host -4 dc
dc.test.jp has address 192.168.1.27
dc.test.jp has address 192.168.1.28
dc.test.jp has IPv6 address 2400:4052:46e0:b700:5021:a5ac:5882:f185
dc.test.jp has IPv6 address 2400:4052:46e0:b700:5440:7997:1f70:6066
[root@centos8 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.30
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:79f0:d44d:dc7a:b245
[root@centos8 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.53
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:d9fb:4f0:1b8c:d399
[root@centos8 ~]# cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)
[root@centos8 ~]# smbd -V
Version 4.11.2
[root@centos8 ~]# net ads lookup
Information for Domain Controller: 192.168.1.30
CentOS Linux release 8.2.2004 Samba4.11.2 AMD EPYC 7302Pで構築したWindows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた

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

Samba 4.13.1, 4.12.9 and 4.11.15 Security Releases Available

Samba 4.13.1, 4.12.9 and 4.11.15 Security Releases が公開されました。ReleaseNoteはこちらこちらこちらです。

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

Red Hat Enterprise Linux release 8.2 Samba4.11.2 AMD EPYC 7302Pで構築した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 resrart winbind
Unknown operation resrart.
[root@rhel8 ~]# systemctl restart winbind
[root@rhel8 ~]# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
[root@rhel8 ~]# wbinfo -n chibi
S-1-5-21-4252828235-1945649609-3318306072-1103 SID_USER (1)
[root@rhel8 ~]# net ads info
LDAP server: 192.168.1.27
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 水, 09 9月 2020 03:59:11 JST
KDC server: 192.168.1.27
Server time offset: -1
Last machine account password change: 水, 09 9月 2020 03:58:12 JST
[root@rhel8 ~]# host -4 dc
dc.test.jp has address 192.168.1.28
dc.test.jp has IPv6 address 2400:4052:46e0:b700:5021:a5ac:5882:f185
[root@rhel8 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.30
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:79f0:d44d:dc7a:b245
[root@rhel8 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.53
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:d9fb:4f0:1b8c:d399
[root@rhel8 ~]# smbclient -L localhost -U%
do_connect: Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
[root@rhel8 ~]# smbclient -L 192.168.1.27 -U%

Sharename Type Comment
——— —- ——-
SMB1 disabled — no workgroup available
[root@rhel8 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.2 (Ootpa)
[root@rhel8 ~]# smbd -V
Version 4.11.2
[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 dc.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.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.30
test.jp has address 192.168.1.28
test.jp has address 192.168.1.53
test.jp has address 192.168.1.27
[root@rhel8 ~]# net ads lookup
Red Hat Enterprise Linux release 8.2 Samba4.11.2 AMD EPYC 7302Pで構築したWindows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた

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

Red Hat Enterprise Linux release 8.2 Kernel4.18.0-193.14.3.el8_2.x86_64 Update

Red Hat Enterprise Linux release 8.2 Kernelが4.18.0-193.14.3.el8_2.x86_64にUpdateされました。

[root@rhel8 ~]# uname -r
4.18.0-193.14.3.el8_2.x86_64
[root@rhel8 ~]# php -v
PHP 8.0.0beta3 (cli) (built: Sep 1 2020 17:13:26) ( NTS gcc x86_64 )
Copyright (c) The PHP Group
Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.0.0beta3, Copyright (c), by Zend Technologies
[root@rhel8 ~]# curl -V
curl 7.61.1 (x86_64-redhat-linux-gnu) libcurl/7.61.1 OpenSSL/1.1.1c zlib/1.2.11 brotli/1.0.6 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.9.0/openssl/zlib nghttp2/1.33.0
Release-Date: 2018-09-05
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz brotli TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL Metalink
[root@rhel8 ~]# smbd -V
Version 4.11.2
[root@rhel8 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.2 (Ootpa)
[root@rhel8 ~]#

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

Debian10.5 Samba4.9.5 AMD EPYC 7302Pで構築した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\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
root@debian:~# wbinfo -n chibi
S-1-5-21-4252828235-1945649609-3318306072-1103 SID_USER (1)
root@debian:~# host -4 dc
dc.test.jp has address 192.168.1.28
dc.test.jp has IPv6 address 2400:4052:46e0:b700:5021:a5ac:5882:f185
root@debian:~# host -4 dc1
dc1.test.jp has address 192.168.1.30
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:79f0:d44d:dc7a:b245
root@debian:~# host -4 dc2
dc2.test.jp has address 192.168.1.53
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:d9fb:4f0:1b8c:d399
root@debian:~# host -t A test.jp
test.jp has address 192.168.1.28
test.jp has address 192.168.1.53
test.jp has address 192.168.1.30
test.jp has address 192.168.1.27
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:~# samba -V
Version 4.9.5-Debian
root@debian:~# net ads lookup
Debian10.5 Samba4.9.5 AMD EPYC 7302Pで構築したWindows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた

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