Fedora30 Samba4.10.4 Windows Server 2016 Datacenter Active Directory Domainのメンバーに参加してみた


[root@f30 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f30 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘F30’ to dns domain ‘test.jp’
No DNS domain configured for f30. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@f30 ~]# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator@TEST.JP

Valid starting Expires Service principal
2019-06-22T11:17:01 2019-06-22T21:17:01 krbtgt/TEST.JP@TEST.JP
renew until 2019-06-23T11:16:57
[root@f30 ~]# systemctl restart winbind
[root@f30 ~]# wbinfo -u
TEST\guest
TEST\defaultaccount
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@f30 ~]# wbinfo -n chibi
S-1-5-21-3866720368-3273965808-1478398572-1103 SID_USER (1)
[root@f30 ~]# net ads info
LDAP server: 192.168.1.52
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 土, 22 6月 2019 11:18:59 JST
KDC server: 192.168.1.52
Server time offset: -6
Last machine account password change: 土, 22 6月 2019 11:17:47 JST
[root@f30 ~]# host -4 dc
dc.test.jp has address 192.168.1.43
dc.test.jp has address 192.168.1.41
dc.test.jp has IPv6 address 2400:4052:46e0:b700:9c17:70c2:f128:4f74
dc.test.jp has IPv6 address 2400:4052:46e0:b700:d0cb:a843:f2ba:fd28
[root@f30 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.52
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:a555:f9b5:10f3:2a15
[root@f30 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.32
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:d908:2730:71f3:20c
[root@f30 ~]# 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@f30 ~]# 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@f30 ~]# host -t A test.jp
test.jp has address 192.168.1.32
test.jp has address 192.168.1.41
test.jp has address 192.168.1.52
test.jp has address 192.168.1.43
[root@f30 ~]# cat /etc/redhat-release
Fedora release 30 (Thirty)
[root@f30 ~]# samba -V
Version 4.10.4
[root@f30 ~]# smbclient //192.168.1.41/netlogon -Uadministrator
Fedora30 Samba4.10.4 Windows Server 2016 Datacenter Active Directory Domainのメンバーに参加してみた

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

コメントを残す

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