CentOS Linux release 8.3.2011 Samba 4.12.3 AMD EPYC 7302P 16-coreで構築したWindows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた


[root@Tiger ~]# kinit administrator
Password for administrator@TEST.JP:
[root@Tiger ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘TIGER’ to dns domain ‘test.jp’
No DNS domain configured for tiger. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@Tiger ~]# systemctl restart winbind
[root@Tiger ~]# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
[root@Tiger ~]# wbinfo -n chibi
S-1-5-21-531816203-730215079-1526157293-1103 SID_USER (1)
[root@Tiger ~]# net ads info
LDAP server: 192.168.1.24
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 木, 17 12月 2020 02:12:44 JST
KDC server: 192.168.1.24
Server time offset: -4
Last machine account password change: 木, 17 12月 2020 02:11:54 JST
[root@Tiger ~]# host -4 dc
dc.test.jp has address 192.168.1.34
dc.test.jp has address 192.168.1.24
dc.test.jp has IPv6 address 2400:4052:46e0:b700:d466:3785:c19d:a359
[root@Tiger ~]# host -4 dc1
dc1.test.jp has address 192.168.1.42
[root@Tiger ~]# host -4 dc2
dc2.test.jp has address 192.168.1.143
[root@Tiger ~]# cat /etc/krb5.conf
[libdefaults]
default_realm = TEST.JP
dns_lookup_realm = false
dns_lookup_kdc = true
[realms]
TEST.JP = {
Kdc = tiger
}

[domain_realm]
test.jp = TEST.JP
.test.jp = TEST.JP
[root@Tiger ~]# 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@Tiger ~]# 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@Tiger ~]# host -t A test.jp
;; connection timed out; no servers could be reached
[root@Tiger ~]# host -t A dc.test.jp
dc.test.jp has address 192.168.1.24
dc.test.jp has address 192.168.1.34
[root@Tiger ~]# host -t A dc1.test.jp
dc1.test.jp has address 192.168.1.42
[root@Tiger ~]# host -t A dc2.test.jp
dc2.test.jp has address 192.168.1.143
[root@Tiger ~]# cat /etc/redhat-release
CentOS Linux release 8.3.2011
[root@Tiger ~]# smbd -V
Version 4.12.3
[root@Tiger ~]# smbclient //192.168.1.24/netlogon -Uadministrator
CentOS Linux release 8.3.2011 Samba 4.12.3 AMD EPYC 7302Pで構築したWindows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた

コメントする

Fedora release 33 Kernel5.9.14-200.fc33.x86_64 Update

Fedora release 33 Kernelが5.9.14-200.fc33.x86_64にUpdateされました。

[root@f33 ~]# cat /etc/redhat-release
Fedora release 33 (Thirty Three)
[root@f33 ~]# uname -r
5.9.14-200.fc33.x86_64
[root@f33 ~]# php -v
PHP 7.4.12 (cli) (built: Oct 27 2020 15:01:52) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.12, Copyright (c), by Zend Technologies
[root@f33 ~]# curl -V
curl 7.71.1 (x86_64-redhat-linux-gnu) libcurl/7.71.1 OpenSSL/1.1.1i-fips zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh/0.9.5/openssl/zlib nghttp2/1.41.0
Release-Date: 2020-07-01
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 brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz Metalink NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
[root@f33 ~]# samba -V
Version 4.13.2
[root@f33 ~]#

コメントする

Manjaro Linux Kernel5.10.0-1-MANJARO Update

Manjaro Linux Kernelが5.10.0-1-MANJAROにUpdateされました。

[man ~]# uname -r
5.10.0-1-MANJARO
[man ~]# php -v
PHP 7.4.13 (cli) (built: Nov 24 2020 16:22:20) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
[man ~]# curl -V
curl 7.73.0 (x86_64-pc-linux-gnu) libcurl/7.73.0 OpenSSL/1.1.1h zlib/1.2.11 zstd/1.4.5 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
Release-Date: 2020-10-14
Protocols: dict file ftp ftps gopher http https imap imaps mqtt 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 zstd
[man ~]# samba -V
Version 4.13.2
[man ~]# 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
[man ~]#

コメントする

PHP 8.0.3 7.4.16が公開

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

コメントする

Kali GNU Linux Rolling Samba4.13.2 AMD EPYC 7302P 16-core Processorで構築された Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた


lqq(root?kali)-[~]
mq# kinit administrator
Password for administrator@TEST.JP:

lqq(root?kali)-[~]
mq# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘KALI’ to dns domain ‘test.jp’
No DNS domain configured for kali. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER

lqq(root?kali)-[~]
mq# systemctl restart winbind

lqq(root?kali)-[~]
mq# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi

lqq(root?kali)-[~]
mq# wbinfo -n chibi
S-1-5-21-531816203-730215079-1526157293-1103 SID_USER (1)

lqq(root?kali)-[~]
mq# net ads info
LDAP server: 192.168.1.24
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 水, 16 12月 2020 18:08:34 JST
KDC server: 192.168.1.24
Server time offset: -6
Last machine account password change: 水, 16 12月 2020 18:07:51 JST

lqq(root?kali)-[~]
mq# host -4 dc
dc.test.jp has address 192.168.1.34
dc.test.jp has address 192.168.1.24
dc.test.jp has IPv6 address 2400:4052:46e0:b700:d466:3785:c19d:a359

lqq(root?kali)-[~]
mq# host -4 dc1
dc1.test.jp has address 192.168.1.42

lqq(root?kali)-[~]
mq# host -4 dc2
dc2.test.jp has address 192.168.1.143

lqq(root?kali)-[~]
mq# 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.

lqq(root?kali)-[~]
mq# 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.

lqq(root?kali)-[~]
mq# host -t A test.jp
test.jp has address 192.168.1.8
test.jp has address 192.168.1.42
test.jp has address 192.168.1.143
test.jp has address 192.168.1.24
test.jp has address 192.168.1.34

lqq(root?kali)-[~]
mq# cat /etc/os-release
PRETTY_NAME=”Kali GNU/Linux Rolling”
NAME=”Kali GNU/Linux”
ID=kali
VERSION=”2020.4″
VERSION_ID=”2020.4″
VERSION_CODENAME=”kali-rolling”
ID_LIKE=debian
ANSI_COLOR=”1;31″
HOME_URL=”https://www.kali.org/”
SUPPORT_URL=”https://forums.kali.org/”
BUG_REPORT_URL=”https://bugs.kali.org/”

lqq(root?kali)-[~]
mq# samba -V
Version 4.13.2-Debian

lqq(root?kali)-[~]
mq# net ads lookup
Information for Domain Controller: 192.168.1.24
Kali GNU Linux Rolling Samba4.13.2 AMD EPYC 7302P 16-coreProcessorで構築された Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

コメントする