Kali GNU/Linux Rolling Samba4.13.5 AMD EPYC 7502P 32-core Processor で構築した Windows Server 2022 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\guest
TEST\administrator
TEST\krbtgt
TEST\chibi

lqq(root?kali)-[~]
mq# wbinfo -n chibi
S-1-5-21-1027568716-2615651473-4055231525-1103 SID_USER (1)

lqq(root?kali)-[~]
mq# net ads info
LDAP server: 192.168.1.85
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 水, 16 6月 2021 03:09:27 JST
KDC server: 192.168.1.85
Server time offset: -2
Last machine account password change: 水, 16 6月 2021 03:08:45 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.19
dc.test.jp has IPv6 address 2400:4052:46e0:b700:acc0:d100:c92c:b122
dc.test.jp has IPv6 address 2400:4052:46e0:b700:571:57ef:f35:ae2c

lqq(root?kali)-[~]
mq# host -4 dc1
dc1.test.jp has address 192.168.1.85
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:f47a:f72:3d0c:4b65

lqq(root?kali)-[~]
mq# host -4 dc2
dc2.test.jp has address 192.168.1.86
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:d515:d71a:cedd:ebb7

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 dc1.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.

lqq(root?kali)-[~]
mq# 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 dc2.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.

lqq(root?kali)-[~]
mq# host -t A test.jp
test.jp has address 192.168.1.34
test.jp has address 192.168.1.85
test.jp has address 192.168.1.19
test.jp has address 192.168.1.86

lqq(root?kali)-[~]
mq# cat /etc/os-release
PRETTY_NAME=”Kali GNU/Linux Rolling”
NAME=”Kali GNU/Linux”
ID=kali
VERSION=”2021.2″
VERSION_ID=”2021.2″
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.5-Debian

lqq(root?kali)-[~]
mq# smbclient //192.168.1.19/netlogon -Uadministrator
Kali GNU Linux Rolling Samba4.13.5 AMD EPYC 7502P 32-core Processor で構築した Windows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた

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

コメントを残す

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