root@mx:~# kinit administrator
Password for administrator@TEST.JP:
root@mx:~# systemctl restart winbind
root@mx:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘MX’ to dns domain ‘test.jp’
No DNS domain configured for mx. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@mx:~# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator@TEST.JP
Valid starting Expires Service principal
2020-01-28T10:28:14 2020-01-28T20:28:14 krbtgt/TEST.JP@TEST.JP
renew until 2020-01-29T10:28:09
root@mx:~# smbclient -L localhost -U%
Sharename Type Comment
——— —- ——-
netlogon Disk
sysvol Disk
print$ Disk Printer Drivers
IPC$ IPC IPC Service (Samba 4.9.5-Debian)
Reconnecting with SMB1 for workgroup listing.
Server Comment
——— ——-
DC
MX Samba 4.9.5-Debian
Workgroup Master
——— ——-
TEST DC
root@mx:~# wbinfo -u
Mx Linux 19 Samba4.9.5 Windows Server 2019 Datacenter Active Directory Domainのメンバー に参加してみた