root@debian:~# kinit administrator
Password for administrator@TEST.JP:
root@debian:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘DEBIAN’ to dns domain ‘test.jp’
No DNS domain configured for debian. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@debian:~# systemctl restart winbind
root@debian:~# 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
DEBIAN Samba 4.9.5-Debian
Workgroup Master
——— ——-
TEST DC
root@debian:~# smbclient //192.168.1.63/netlogon -Uadministrator
Debian10.8 Samba4.9.5 AMD EPYC 7742 64-core Processor x2 socketsで構築した Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた