CentOS Linux release 8.1 Samba4.10.4 Windows Server 2019 Datacenter Active Directory Domainのメンバー に参加してみた

[root@centos8 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@centos8 ~]# smbclient //192.168.1.10/netlogon -Uadministrator
Enter TEST\administrator’s password:
Try “help” to get a list of possible commands.
smb: \> ls
. D 0 Fri Aug 9 18:32:51 2019
.. D 0 Fri Aug 9 18:32:51 2019

62356991 blocks of size 4096. 42865878 blocks available
smb: \> exit
[root@centos8 ~]# smbclient //192.168.1.10/sysvol -Uadministrator
Enter TEST\administrator’s password:
Try “help” to get a list of possible commands.
smb: \> ls
. D 0 Fri Aug 9 18:32:51 2019
.. D 0 Fri Aug 9 18:32:51 2019
test.jp D 0 Fri Aug 9 18:32:51 2019

62356991 blocks of size 4096. 42865878 blocks available
smb: \> exit
[root@centos8 ~]# host -4 dc
dc.test.jp has address 192.168.1.10
dc.test.jp has address 192.168.1.7
dc.test.jp has IPv6 address 2400:4052:46e0:b700:4f:d564:2171:d644
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b965:55ce:a6fa:cbe
[root@centos8 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘CENTOS8’ to dns domain ‘test.jp’
No DNS domain configured for centos8. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@centos8 ~]# systemctl enable winbind
[root@centos8 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@centos8 ~]# host -4 dc
dc.test.jp has address 192.168.1.10
dc.test.jp has address 192.168.1.7
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b965:55ce:a6fa:cbe
dc.test.jp has IPv6 address 2400:4052:46e0:b700:4f:d564:2171:d644
[root@centos8 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.11
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:85f5:d25e:c529:278a
[root@centos8 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.12
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:309e:ebe1:748c:e149
[root@centos8 ~]# 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@centos8 ~]# 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 dc.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.
[root@centos8 ~]# host -t A test.jp
test.jp has address 192.168.1.7
test.jp has address 192.168.1.12
test.jp has address 192.168.1.11
test.jp has address 192.168.1.10
[root@centos8 ~]# smbclient -L 192.168.1.10 -U%

CentOS Linux release 8.1 Samba4.10.4 Windows Server 2019 Datacenter Active Directory Domainのメンバー に参加してみた

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

コメントを残す

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