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


opensuse:~ # kinit administrator
kinit: Credential cache directory /run/user/0/krb5cc does not exist while getting default ccache
opensuse:~ # mkdir /run/user/0/
opensuse:~ # kinit administrator
Password for administrator@TEST.JP:
opensuse:~ # net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘OPENSUSE’ to dns domain ‘test.jp’
No DNS domain configured for opensuse. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
opensuse:~ # systemctl restart winbind
opensuse:~ # wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
opensuse:~ # wbinfo -n chibi
S-1-5-21-995094434-2370853644-3769685270-1103 SID_USER (1)
opensuse:~ # 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: Fri, 22 Jan 2021 07:19:00 JST
KDC server: 192.168.1.25
Server time offset: -4
Last machine account password change: Fri, 22 Jan 2021 07:18:08 JST
opensuse:~ # 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:b462:ad0e:dd8c:96f4
dc.test.jp has IPv6 address 2400:4052:46e0:b700:15dc:bd6:5817:24fc
opensuse:~ # 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
opensuse:~ # 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
opensuse:~ # 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.
opensuse:~ # 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.
opensuse:~ # host -t A test.jp
test.jp has address 192.168.1.28
test.jp has address 192.168.1.25
test.jp has address 192.168.1.27
test.jp has address 192.168.1.22
opensuse:~ # cat /etc/os-release
NAME=”openSUSE Tumbleweed”
# VERSION=”20210120″
ID=”opensuse-tumbleweed”
ID_LIKE=”opensuse suse”
VERSION_ID=”20210120″
PRETTY_NAME=”openSUSE Tumbleweed”
ANSI_COLOR=”0;32″
CPE_NAME=”cpe:/o:opensuse:tumbleweed:20210120″
BUG_REPORT_URL=”https://bugs.opensuse.org”
HOME_URL=”https://www.opensuse.org/”
DOCUMENTATION_URL=”https://en.opensuse.org/Portal:Tumbleweed”
LOGO=”distributor-logo”
opensuse:~ # samba -V
Version 4.13.3-git.181.fc4672a5b81SUSE-oS15.5-x86_64
opensuse:~ # smbclient //192.168.1.22/netlogon -Uadministrator
OpenSUSE Tumbleweed Samba4.13.3 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

Ubuntu 21.04 Samba4.13.3 Update

Ubuntu 21.04 Sambaが4.13.3にUpdateされました。

root@2104:~# cat /etc/os-release
NAME=”Ubuntu”
VERSION=”21.04 (Hirsute Hippo)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=”Ubuntu Hirsute Hippo (development branch)”
VERSION_ID=”21.04″
HOME_URL=”https://www.ubuntu.com/”
SUPPORT_URL=”https://help.ubuntu.com/”
BUG_REPORT_URL=”https://bugs.launchpad.net/ubuntu/”
PRIVACY_POLICY_URL=”https://www.ubuntu.com/legal/terms-and-policies/privacy-policy”
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
root@2104:~# php -v
PHP 7.4.11 (cli) (built: Nov 16 2020 10:33:36) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.11, Copyright (c), by Zend Technologies
root@2104:~# curl -V
curl 7.72.0 (x86_64-pc-linux-gnu) libcurl/7.72.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh/0.9.5/openssl/zlib nghttp2/1.42.0 librtmp/2.3
Release-Date: 2020-08-19
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 brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
root@2104:~# samba -V
Version 4.13.3-Ubuntu
root@2104:~# uname -r
5.8.0-36-generic
root@2104:~#

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

Ubuntu 16.04.7 LTS PHP 8.0.1 Update

Ubuntu 16.04.7 LTS PHPが8.0.1にUpdateされました。

root@1604:~# cat /etc/os-release
NAME=”Ubuntu”
VERSION=”16.04.7 LTS (Xenial Xerus)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=”Ubuntu 16.04.7 LTS”
VERSION_ID=”16.04″
HOME_URL=”http://www.ubuntu.com/”
SUPPORT_URL=”http://help.ubuntu.com/”
BUG_REPORT_URL=”http://bugs.launchpad.net/ubuntu/”
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
root@1604:~# php -v
PHP 8.0.1 (cli) (built: Jan 13 2021 08:20:38) ( 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@1604:~# uname -r
4.15.0-132-generic
root@1604:~# curl -V
curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets
root@1604:~# samba -V
Version 4.3.11-Ubuntu
root@1604:~#

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

Samba 4.14.4, 4.13.8 and 4.12.15 Security Releases Available

Samba 4.14.4, 4.13.8 and 4.12.15 Security Releasesされました。ReleaseNoteはこちらこちらこちらです。

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

Ubuntu 18.04.5 LTS Samba4.7.6 AMD EPYC 7502P 32-core Processorで構成した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた


root@1804:~# kinit administrator
Password for administrator@TEST.JP:
root@1804:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘1804’ to dns domain ‘test.jp’
No DNS domain configured for 1804. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@1804:~# systemctl restart winbind
root@1804:~# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
root@1804:~# wbinfo -n chibi
S-1-5-21-995094434-2370853644-3769685270-1103 SID_USER (1)
root@1804:~# 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: 木, 21 1月 2021 11:17:51 JST
KDC server: 192.168.1.25
Server time offset: -4
Last machine account password change: 木, 21 1月 2021 11:17:21 JST
root@1804:~# 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:b462:ad0e:dd8c:96f4
dc.test.jp has IPv6 address 2400:4052:46e0:b700:15dc:bd6:5817:24fc
root@1804:~# 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@1804:~# 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@1804:~# 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@1804:~# 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@1804:~# host -t A test.jp
test.jp has address 192.168.1.27
test.jp has address 192.168.1.25
test.jp has address 192.168.1.22
test.jp has address 192.168.1.28
root@1804:~# smbclient -L localhost -U%
Ubuntu 18.04.5 LTS Samba4.7.6 AMD EPYC 7502P 32-core Processorで構成した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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