Fedora release 33 Samba4.13.3 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた


[root@f33 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f33 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘F33’ to dns domain ‘test.jp’
No DNS domain configured for f33. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@f33 ~]# systemctl restart winbind
[root@f33 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@f33 ~]# wbinfo -n chibi
S-1-5-21-995094434-2370853644-3769685270-1103 SID_USER (1)
[root@f33 ~]# net ads lookup
Information for Domain Controller: 192.168.1.27

Response Type: LOGON_SAM_LOGON_RESPONSE_EX
GUID: c8e0ec6a-8685-4987-934d-94b20f0e089e
Flags:
Is a PDC: no
Is a GC of the forest: yes
Is an LDAP server: yes
Supports DS: yes
Is running a KDC: yes
Is running time services: yes
Is the closest DC: yes
Is writable: yes
Has a hardware clock: no
Is a non-domain NC serviced by LDAP server: no
Is NT6 DC that has some secrets: no
Is NT6 DC that has all secrets: yes
Runs Active Directory Web Services: yes
Runs on Windows 2012 or later: yes
Forest: test.jp
Domain: test.jp
Domain Controller: dc2.test.jp
Pre-Win2k Domain: TEST
Pre-Win2k Hostname: DC2
Server Site Name: Default-First-Site-Name
Client Site Name: Default-First-Site-Name
NT Version: 5
LMNT Token: ffff
LM20 Token: ffff
[root@f33 ~]# net ads info
LDAP server: 192.168.1.27
LDAP server name: dc2.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 水, 13 1月 2021 04:48:08 JST
KDC server: 192.168.1.27
Server time offset: -12
Last machine account password change: 水, 13 1月 2021 04:47:22 JST
dc.test.jp has address 192.168.1.22
dc.test.jp has address 192.168.1.28
dc.test.jp has IPv6 address 2400:4052:46e0:b700:15dc:bd6:5817:24fc
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b462:ad0e:dd8c:96f4
[root@f33 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.25
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:c0ac:f44c:e63:2b0
[root@f33 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.27
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:250f:3df1:1c43:8fcd
[root@f33 ~]# host -t SRV _ldap._tcp.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.
_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.
[root@f33 ~]# 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 dc1.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.
[root@f33 ~]# host -t A test.jp
test.jp has address 192.168.1.22
test.jp has address 192.168.1.25
test.jp has address 192.168.1.27
test.jp has address 192.168.1.28
[root@f33 ~]# host -4 dc
dc.test.jp has address 192.168.1.22
dc.test.jp has address 192.168.1.28
dc.test.jp has IPv6 address 2400:4052:46e0:b700:15dc:bd6:5817:24fc
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b462:ad0e:dd8c:96f4
[root@f33 ~]# cat /etc/redhat-release
Fedora release 33 (Thirty Three)
[root@f33 ~]# samba -V
Version 4.13.3
[root@f33 ~]# smbclient //192.168.1.22/netlogon -Uadministrator
Fedora release 33 Samba4.13.3 AMD EPYC 7502P 32-core Processorで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

コメントを残す

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