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


[root@f33 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f33 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘F33’ to dns domain ‘test.jp’
No DNS domain configured for f33. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@f33 ~]# systemctl restart winbind
[root@f33 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@f33 ~]# wbinfo -n chibi
S-1-5-21-995094434-2370853644-3769685270-1103 SID_USER (1)
[root@f33 ~]# net ads lookup
Information for Domain Controller: 192.168.1.27

Response Type: LOGON_SAM_LOGON_RESPONSE_EX
GUID: c8e0ec6a-8685-4987-934d-94b20f0e089e
Flags:
Is a PDC: no
Is a GC of the forest: yes
Is an LDAP server: yes
Supports DS: yes
Is running a KDC: yes
Is running time services: yes
Is the closest DC: yes
Is writable: yes
Has a hardware clock: no
Is a non-domain NC serviced by LDAP server: no
Is NT6 DC that has some secrets: no
Is NT6 DC that has all secrets: yes
Runs Active Directory Web Services: yes
Runs on Windows 2012 or later: yes
Forest: test.jp
Domain: test.jp
Domain Controller: dc2.test.jp
Pre-Win2k Domain: TEST
Pre-Win2k Hostname: DC2
Server Site Name: Default-First-Site-Name
Client Site Name: Default-First-Site-Name
NT Version: 5
LMNT Token: ffff
LM20 Token: ffff
[root@f33 ~]# net ads info
LDAP server: 192.168.1.27
LDAP server name: dc2.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 水, 13 1月 2021 04:48:08 JST
KDC server: 192.168.1.27
Server time offset: -12
Last machine account password change: 水, 13 1月 2021 04:47:22 JST
dc.test.jp has address 192.168.1.22
dc.test.jp has address 192.168.1.28
dc.test.jp has IPv6 address 2400:4052:46e0:b700:15dc:bd6:5817:24fc
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b462:ad0e:dd8c:96f4
[root@f33 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.25
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:c0ac:f44c:e63:2b0
[root@f33 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.27
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:250f:3df1:1c43:8fcd
[root@f33 ~]# 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@f33 ~]# 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@f33 ~]# host -t A test.jp
test.jp has address 192.168.1.22
test.jp has address 192.168.1.25
test.jp has address 192.168.1.27
test.jp has address 192.168.1.28
[root@f33 ~]# host -4 dc
dc.test.jp has address 192.168.1.22
dc.test.jp has address 192.168.1.28
dc.test.jp has IPv6 address 2400:4052:46e0:b700:15dc:bd6:5817:24fc
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b462:ad0e:dd8c:96f4
[root@f33 ~]# cat /etc/redhat-release
Fedora release 33 (Thirty Three)
[root@f33 ~]# samba -V
Version 4.13.3
[root@f33 ~]# smbclient //192.168.1.22/netlogon -Uadministrator
Fedora release 33 Samba4.13.3 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

Kernel 5.12-rc7が公開

Kernel 5.12-rc7が公開されました。ReleaseNoteはこちらです。

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

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


[root@f31 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f31 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘F31’ to dns domain ‘test.jp’
No DNS domain configured for f31. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@f31 ~]# systemctl restart winbind
[root@f31 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@f31 ~]# wbinfo -n administrator
S-1-5-21-995094434-2370853644-3769685270-500 SID_USER (1)
[root@f31 ~]# 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: 水, 13 1月 2021 04:34:44 JST
KDC server: 192.168.1.25
Server time offset: -12
Last machine account password change: 水, 13 1月 2021 04:33:54 JST
[root@f31 ~]# host -4 dc
dc.test.jp has address 192.168.1.22
dc.test.jp has address 192.168.1.28
dc.test.jp has IPv6 address 2400:4052:46e0:b700:15dc:bd6:5817:24fc
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b462:ad0e:dd8c:96f4
[root@f31 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.25
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:c0ac:f44c:e63:2b0
[root@f31 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.27
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:250f:3df1:1c43:8fcd
[root@f31 ~]# 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@f31 ~]# 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@f31 ~]# host -t A test.jp
test.jp has address 192.168.1.28
test.jp has address 192.168.1.22
test.jp has address 192.168.1.27
test.jp has address 192.168.1.25
[root@f31 ~]# cat /etc/redhat-release
Fedora release 31 (Thirty One)
[root@f31 ~]# samba -V
Version 4.11.14
[root@f31 ~]# smbclient //192.168.1.22/netlogon -Uadministrator
Fedora release 31 Samba4.11.14 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

Debian10.7 PHP 8.0.1 Update

Debian10.7 PHPが8.0.1にUpdateされました。

root@deb10:~# 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@deb10:~# cat /etc/debian_vesion
cat: /etc/debian_vesion: そのようなファイルやディレクトリはありません
root@deb10:~# cat /etc/debian_version
10.7
root@deb10:~# php -v
PHP 8.0.1 (cli) (built: Jan 12 2021 13:59:46) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.1, Copyright (c) Zend Technologies
with Zend OPcache v8.0.1, Copyright (c), by Zend Technologies
root@deb10:~# curl -V
curl 7.64.0 (x86_64-pc-linux-gnu) libcurl/7.64.0 OpenSSL/1.1.1i zlib/1.2.11 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Release-Date: 2019-02-06
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL
root@deb10:~# samba -V
Version 4.9.5-Debian
root@deb10:~# uname -a
Linux deb10 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux
root@deb10:~#

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

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


[root@centos7 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@centos7 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘CENTOS7’ to dns domain ‘test.jp’
No DNS domain configured for centos7. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@centos7 ~]# systemctl restart winbind
[root@centos7 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@centos7 ~]# wbinfo -n chibi
S-1-5-21-995094434-2370853644-3769685270-1103 SID_USER (1)
[root@centos7 ~]# net ads info
LDAP server: 192.168.1.27
LDAP server name: dc2.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 火, 12 1月 2021 14:59:21 JST
KDC server: 192.168.1.27
Server time offset: -11
Last machine account password change: 火, 12 1月 2021 14:58:58 JST
[root@centos7 ~]# host -4 dc
dc.test.jp has address 192.168.1.28
dc.test.jp has address 192.168.1.22
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b462:ad0e:dd8c:96f4
dc.test.jp has IPv6 address 2400:4052:46e0:b700:15dc:bd6:5817:24fc
[root@centos7 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.25
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:c0ac:f44c:e63:2b0
[root@centos7 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.27
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:250f:3df1:1c43:8fcd
[root@centos7 ~]# 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@centos7 ~]# 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@centos7 ~]# host -t A test.jp
test.jp has address 192.168.1.22
test.jp has address 192.168.1.27
test.jp has address 192.168.1.28
test.jp has address 192.168.1.25
[root@centos7 ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@centos7 ~]# smbd -V
Version 4.10.16
[root@centos7 ~]# smbclient //192.168.1.22/netlogon -Uadministrator
CentOS Linux release 7.9.2009 Samba4.10.16 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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