Fedora release 33 Samba4.13.0rc1 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
guest
administrator
krbtgt
chibi
[root@f33 ~]# wbinfo -n chibi
S-1-5-21-2092985958-4254752361-2950905742-1103 SID_USER (1)
[root@f33 ~]# net ads info
LDAP server: 192.168.1.37
LDAP server name: dc2.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 火, 14 7月 2020 16:50:45 JST
KDC server: 192.168.1.37
Server time offset: -2
Last machine account password change: 火, 14 7月 2020 16:49:53 JST
[root@f33 ~]# host -4 dc
dc.test.jp has address 192.168.1.19
dc.test.jp has address 192.168.1.35
dc.test.jp has IPv6 address 2400:4052:46e0:b700:2d43:e3e4:e912:230
dc.test.jp has IPv6 address 2400:4052:46e0:b700:29c4:a204:545c:3e2c
[root@f33 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.38
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:1f2:fcba:cdb2:933d
[root@f33 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.37
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:606d:e2e1:e8d5:267f
[root@f33 ~]# host -t SRV _ldap._tcp.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.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
[root@f33 ~]# 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 dc1.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
[root@f33 ~]# host -t A test.jp
test.jp has address 192.168.1.19
test.jp has address 192.168.1.37
test.jp has address 192.168.1.35
test.jp has address 192.168.1.38
[root@f33 ~]# smbclient -L 192.168.1.19 -U%

Sharename Type Comment
——— —- ——-
SMB1 disabled — no workgroup available
[root@f33 ~]# smbclient //192.168.1.19/netlogon -Uadministrator
Fedora release 33 Samba4.13.0rc1 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

コメントを残す

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