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


root@1910:~# kinit administrator
Password for administrator@TEST.JP:
root@1910:~# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator@TEST.JP

Valid starting Expires Service principal
2019-06-01T06:32:46 2019-06-01T16:32:46 krbtgt/TEST.JP@TEST.JP
renew until 2019-06-02T06:32:42
root@1910:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘1910’ to dns domain ‘test.jp’
No DNS domain configured for 1910. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@1910:~# net ads info
LDAP server: 192.168.1.19
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 土, 01 6月 2019 06:36:35 JST
KDC server: 192.168.1.19
Server time offset: -13
Last machine account password change: 土, 01 6月 2019 06:33:32 JST
root@1910:~# host -4 dc
dc.test.jp has address 192.168.1.14
dc.test.jp has address 192.168.1.20
dc.test.jp has IPv6 address 2400:4052:46e0:b700:c574:a8df:a559:64f5
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b876:6833:607d:3482
root@1910:~# host -4 dc1
dc1.test.jp has address 192.168.1.19
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:d055:b705:9347:24ad
root@1910:~# host -4 dc2
dc2.test.jp has address 192.168.1.149
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:2154:9eb9:8076:664b
root@1910:~# 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.
root@1910:~# 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@1910:~# host -t A test.jp
test.jp has address 13.113.45.174
root@1910:~# host -t A dc.test.jp
dc.test.jp has address 192.168.1.14
dc.test.jp has address 192.168.1.20
root@1910:~# host -t A dc1.test.jp
dc1.test.jp has address 192.168.1.19
root@1910:~# host -t A dc2.test.jp
dc2.test.jp has address 192.168.1.149
root@1910:~# smbclient //192.168.1.14/netlogon -Uadministrator
Ubuntu19.10 Samba4.10.0 Windows Server 2019 Datacenter Active Directory Domainののメンバーに参加してみた

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

コメントを残す

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