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:~# cat /etc/krb5.conf
[libdefaults]
default_realm = TEST.JP
dns_lookup_realm = false
dns_lookup_kdc = true
[realms]
TEST.JP = {
Kdc = 1910
}
[domain_realm]
test.jp = TEST.JP
.test.jp = TEST.JP
root@1910:~# smbclient -L localhost -U%
Sharename Type Comment
——— —- ——-
netlogon Disk
sysvol Disk
print$ Disk Printer Drivers
IPC$ IPC IPC Service (Samba 4.10.7-Ubuntu)
Reconnecting with SMB1 for workgroup listing.
Server Comment
——— ——-
1910 Samba 4.10.7-Ubuntu
DC
DC1
DC2
Workgroup Master
——— ——-
TEST 1910
WORKGROUP DESKTOP-0NRQL5D
root@1910:~# smbclient -L localhost -U%
Ubuntu19.10 Samba4.10.7 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた