root@1910:~# kinit administrator
Password for administrator@TEST.JP:
root@1910:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘1910’ to dns domain ‘test.jp’
No DNS domain configured for 1910. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@1910:~# systemctl restart winbind
root@1910:~# wbinfo -u
TEST\administrator
TEST\guest
TEST\defaultaccount
TEST\krbtgt
TEST\chibi
root@1910:~# wbinfo -n chibi
S-1-5-21-3866720368-3273965808-1478398572-1103 SID_USER (1)
root@1910:~# net ads info
LDAP server: 192.168.1.43
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 月, 26 8月 2019 08:52:53 JST
KDC server: 192.168.1.43
Server time offset: -3
Last machine account password change: 月, 26 8月 2019 08:52:14 JST
root@1910:~# smbclient -L localhost -U%
Ubuntu19.10 Samba4.10.7 Windows Server 2016 Datacenter Active Directory Domain のメンバーに参加してみた