FreeBSD12.2 Samba4.11.11 AMD EPYC 7302Pで構築したWindows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた


root@FreeBDF:~ # kinit administrator
administrator@TEST.JP’s Password:
root@FreeBDF:~ # date
Fri Sep 11 13:06:21 JST 2020
root@FreeBDF:~ # ntpdate ntp.nict.jp
11 Sep 04:06:56 ntpdate[1905]: step time server 133.243.238.244 offset -32401.374956 sec
root@FreeBDF:~ # kinit administrator
administrator@TEST.JP’s Password:
kinit: krb5_get_init_creds: Clock skew too great
root@FreeBDF:~ # net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘FREEBDF’ to dns domain ‘test.jp’
No DNS domain configured for freebdf. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@FreeBDF:~ # service samba_server start
Performing sanity check on Samba configuration: OK
Starting nmbd.
Starting smbd.
Starting winbindd.
root@FreeBDF:~ # wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
root@FreeBDF:~ # wbinfo -n chibi
S-1-5-21-4252828235-1945649609-3318306072-1103 SID_USER (1)
root@FreeBDF:~ # net ads info
LDAP server: 192.168.1.30
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Fri, 11 Sep 2020 04:11:10 JST
KDC server: 192.168.1.30
Server time offset: -5
Last machine account password change: Fri, 11 Sep 2020 04:07:44 JST
root@FreeBDF:~ # host -4 dc
dc.test.jp has address 192.168.1.28
dc.test.jp has IPv6 address 2400:4052:46e0:b700:5021:a5ac:5882:f185
root@FreeBDF:~ # host -4 dc1
dc1.test.jp has address 192.168.1.30
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:79f0:d44d:dc7a:b245
root@FreeBDF:~ # host -4 dc2
dc2.test.jp has address 192.168.1.53
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:d9fb:4f0:1b8c:d399
root@FreeBDF:~ # uname -a
FreeBSD FreeBDF 12.2-PRERELEASE FreeBSD 12.2-PRERELEASE r365545 GENERIC amd64
root@FreeBDF:~ # samba -V
Version 4.11.11
root@FreeBDF:~ # net ads lookup
FreeBSD12.2 Samba4.11.11 AMD EPYC 7302Pで構築したWindows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた

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

コメントを残す

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