Fedora26 Samba4.6.0rc2 Windows Server 2016 Acitive Directory Domain に参加してみた

[root@f26 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f26 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘F26’ to dns domain ‘test.jp’
No DNS domain configured for f26. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@f26 ~]# systemctl restart winbind
[root@f26 ~]# wbinfo -u
TEST\administrator
TEST\guest
TEST\defaultaccount
TEST\krbtgt
TEST\nuc
[root@f26 ~]# wbinfo -n nuc
S-1-5-21-505032490-2359843341-3275392121-1103 SID_USER (1)
[root@f26 ~]# net ads info
LDAP server: 192.168.1.7
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 日, 05 2月 2017 05:55:25 JST
KDC server: 192.168.1.7
Server time offset: 0
Last machine account password change: 日, 05 2月 2017 05:54:45 JST
[root@f26 ~]# host -4 dc
dc.test.jp has address 192.168.1.7
dc.test.jp has IPv6 address 2400:7800:47e0:1700:2482:fcca:76e9:a0cf
[root@f26 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.86
dc1.test.jp has IPv6 address 2400:7800:47e0:1700:60bd:6d30:dbf5:5ad8
[root@f26 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.75
dc2.test.jp has IPv6 address 2400:7800:47e0:1700:c983:65c:2a78:8076
[root@f26 ~]# 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@f26 ~]# 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@f26 ~]# host -t A test.jp
test.jp has address 192.168.1.86
test.jp has address 192.168.1.23
test.jp has address 192.168.1.75
test.jp has address 192.168.1.7
[root@f26 ~]# smbclient //192.168.1.23/sysvol -Uadministtrator
Enter TEST\administtrator’s password:
session setup failed: NT_STATUS_LOGON_FAILURE  うまく表示されない
[root@f26 ~]# smbclient –version
Version 4.6.0rc2
[root@f26 ~]# cat /etc/redhat-release
Fedora release 26 (Rawhide)
[root@f26 ~]#

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

コメントを残す

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