Fedora release 31 Samba4.11.9 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた


[root@f31 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f31 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘F31’ to dns domain ‘test.jp’
No DNS domain configured for f31. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@f31 ~]# systemctl restart winbind
[root@f31 ~]# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
[root@f31 ~]# wbinfo -n chibi
S-1-5-21-549501848-3507064458-2843809997-1103 SID_USER (1)
[root@f31 ~]# net ads info
LDAP server: 192.168.1.22
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 木, 16 7月 2020 14:15:53 JST
KDC server: 192.168.1.22
Server time offset: 0
Last machine account password change: 木, 16 7月 2020 14:15:11 JST
[root@f31 ~]# host -4 dc
dc.test.jp has address 192.168.1.50
dc.test.jp has address 192.168.1.22
dc.test.jp has IPv6 address 2400:4052:46e0:b700:9c9c:a51f:dc93:fcf7
dc.test.jp has IPv6 address 2400:4052:46e0:b700:11da:1b94:a11e:dfcc
[root@f31 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.17
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:31b7:cee1:e187:f05e
[root@f31 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.18
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:f86a:6beb:dbb1:f54d
[root@f31 ~]# 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@f31 ~]# 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@f31 ~]# host -t A test.jp
test.jp has address 192.168.1.50
test.jp has address 192.168.1.22
test.jp has address 192.168.1.17
test.jp has address 192.168.1.18
[root@f31 ~]# smbclient -L 192.168.1.22 -%
Fedora release 31 Samba4.11.9 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

コメントを残す

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