Ubuntu20.10 Samba4.12.2 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた


root@2010:~# kinit administrator
Password for administrator@TEST.JP:
root@2010:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘2010’ to dns domain ‘test.jp’
No DNS domain configured for 2010. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@2010:~# systemctl restart winbind
root@2010:~# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
root@2010:~# wbinfo -n chibi
S-1-5-21-2092985958-4254752361-2950905742-1103 SID_USER (1)
root@2010:~# host -4 dc
dc.test.jp has address 192.168.1.19
dc.test.jp has address 192.168.1.35
dc.test.jp has IPv6 address 2400:4052:46e0:b700:2d43:e3e4:e912:230
dc.test.jp has IPv6 address 2400:4052:46e0:b700:29c4:a204:545c:3e2c
root@2010:~# host -4 dc1
dc1.test.jp has address 192.168.1.38
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:1f2:fcba:cdb2:933d
root@2010:~# host -4 dc2
dc2.test.jp has address 192.168.1.37
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:606d:e2e1:e8d5:267f
root@2010:~# 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@2010:~# host -t SRV _kerberos._udp.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.
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
root@2010:~# host -t A test.jp
test.jp has address 192.168.1.19
test.jp has address 192.168.1.35
test.jp has address 192.168.1.37
test.jp has address 192.168.1.38
root@2010:~# smbclient -L 192.168.1.19/netlogon -Uadministrator
Enter TEST\administrator’s password:

Sharename Type Comment
——— —- ——-
ADMIN$ Disk Remote Admin
C$ Disk Default share
IPC$ IPC Remote IPC
NETLOGON Disk Logon server share
SYSVOL Disk Logon server share
SMB1 disabled — no workgroup available
root@2010:~# smbclient -L 192.168.1.19 -U%
Ubuntu20.10 Samba4.12.2 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です