FreeBSD 13.0-CURRENT #0 r357276 Samba4.10.10 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

root@freebsd:~ # kinit administrator
administrator@TEST.JP’s Password:
root@freebsd:~ # net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘FREEBSD’ to dns domain ‘test.jp’
No DNS domain configured for freebsd. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@freebsd:~ # service samba_server start
Performing sanity check on Samba configuration: OK
Starting nmbd.
Starting smbd.
Starting winbindd.
root@freebsd:~ # wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
root@freebsd:~ # wbinfo -n adminitrator
failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND
Could not lookup name adminitrator
root@freebsd:~ # wbinfo -n administrator
S-1-5-21-3288142828-1890802880-3761831349-500 SID_USER (1)
root@freebsd:~ # 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: Sat, 01 Feb 2020 05:42:13 JST
KDC server: 192.168.1.7
Server time offset: -6
Last machine account password change: Sat, 01 Feb 2020 05:40:15 JST
root@freebsd:~ # smbclient -L localhost -U%

Sharename Type Comment
——— —- ——-
netlogon Disk
sysvol Disk
IPC$ IPC IPC Service (Samba 4.10.13)
Reconnecting with SMB1 for workgroup listing.

Server Comment
——— ——-
DC
FREEBSD Samba 4.10.13

Workgroup Master
——— ——-
TEST DC
root@freebsd:~ # smbclient //192.168.1.10/netlogon -Uadministrator

FreeBSD 13.0-CURRENT #0 r357276 Samba4.10.10 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

コメントを残す

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