CentOS Linux release 8.2.2004 Samba4.11.2 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-1554123357-2737978188-3786944711-1103 SID_USER (1)
[root@centos8 ~]# net ads info
LDAP server: 192.168.1.14
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 金, 07 8月 2020 06:34:20 JST
KDC server: 192.168.1.14
Server time offset: -1
Last machine account password change: 金, 07 8月 2020 06:33:23 JST
[root@centos8 ~]# host -4 dc
dc.test.jp has address 192.168.1.8
dc.test.jp has address 192.168.1.13
dc.test.jp has IPv6 address 2400:4052:46e0:b700:d479:2a83:efca:e147
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b118:a793:93fa:c606
[root@centos8 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.14
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:9d:b986:2f3:e1a1
[root@centos8 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.15
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:b560:2801:e321:1a41
[root@centos8 ~]# 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@centos8 ~]# 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@centos8 ~]# host -t A test.jp
test.jp has address 192.168.1.15
test.jp has address 192.168.1.14
test.jp has address 192.168.1.13
[root@centos8 ~]# host -t A test.jp
test.jp has address 192.168.1.13
test.jp has address 192.168.1.15
test.jp has address 192.168.1.14
[root@centos8 ~]# smbclient -L localhost -U%
do_connect: Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
[root@centos8 ~]# smbclient -L 192.168.1.8 -U%

Sharename Type Comment
——— —- ——-
SMB1 disabled — no workgroup available
[root@centos8 ~]# smbclient //192.168.1.8/netlogon -Uadministrator
CentOS Linux release 8.2 Samba4.11.2 Windows Server 2019 Datacenter Active Directory Domainのメンバー に参加してみた

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

Red Hat Enterprise Linux release 8.2 PHP 8.0.0beta1 Update

Red Hat Enterprise Linux release 8.2 PHPを8.0.0beta1にUpdateさせてみました。

[root@rhel8 ~]# uname -r
4.18.0-193.14.3.el8_2.x86_64
[root@rhel8 ~]# php -v
PHP 8.0.0beta1 (cli) (built: Aug 4 2020 17:44:52) ( NTS gcc x86_64 )
Copyright (c) The PHP Group
Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.0.0beta1, 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 | コメントする

CentOS Linux release 8.2.2004 PHP 8.0.0beta1 Update

CentOS Linux release 8.2.2004 PHPを8.0.0beta1にUpdateさせてみました。

[root@centos8 ~]# uname -r
4.18.0-193.14.2.el8_2.x86_64
[root@centos8 ~]# php -v
PHP 8.0.0beta1 (cli) (built: Aug 4 2020 17:44:52) ( NTS gcc x86_64 )
Copyright (c) The PHP Group
Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.0.0beta1, Copyright (c), by Zend Technologies
[root@centos8 ~]# 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.41.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@centos8 ~]# smbd -V
Version 4.11.2
[root@centos8 ~]# cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)
[root@centos8 ~]#

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

PHP 8.0.0 Release Candidate 1 available for testing


PHP 8.0.0 Release Candidate 1が公開されました。関連記事はこちらこちらです。

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

Arch Linux PHP 7.4.9 Update

Arch Linux PHPが7.4.9にUpdateされました。

[root@arch ~]# uname -r
5.7.12-arch1-1
[root@arch ~]# php -v
PHP 7.4.9 (cli) (built: Aug 5 2020 05:00:11) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
[root@arch ~]# curl -V
curl 7.71.1 (x86_64-pc-linux-gnu) libcurl/7.71.1 OpenSSL/1.1.1g zlib/1.2.11 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh2/1.9.0 nghttp2/1.41.0
Release-Date: 2020-07-01
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
[root@arch ~]# samba -V
Version 4.12.3
[root@arch ~]# 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@arch ~]#

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