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 のメンバーに参加してみた

カテゴリー: kali, samba4, windows パーマリンク

コメントを残す

メールアドレスが公開されることはありません。