root@deepin:~# kinit administrator
Password for administrator@TEST.JP:
root@deepin:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘DEEPIN’ to dns domain ‘test.jp’
No DNS domain configured for deepin. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@deepin:~# 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
——— ——-
Workgroup Master
——— ——-
WORKGROUP DESKTOP-0NRQL5D
root@deepin:~# net ads info
LDAP server: 192.168.1.53
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Wed, 06 May 2020 10:57:58 JST
KDC server: 192.168.1.53
Server time offset: 0
Last machine account password change: Wed, 06 May 2020 10:57:25 JST
root@deepin:~# host -4 dc
dc.test.jp has address 192.168.1.51
dc.test.jp has address 192.168.1.53
dc.test.jp has IPv6 address 2400:4052:46e0:b700:4c26:f2b1:4718:16d
dc.test.jp has IPv6 address 2400:4052:46e0:b700:e53c:ed66:5a3c:b8cc
root@deepin:~# host -4 dc1
dc1.test.jp has address 192.168.1.55
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:999c:ad75:5ee:8fce
root@deepin:~# host -4 dc2
dc2.test.jp has address 192.168.1.54
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:a519:f5f9:1261:1480
root@deepin:~# host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
root@deepin:~# host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.
root@deepin:~# host -t A test.jp
test.jp has address 192.168.1.51
test.jp has address 192.168.1.54
test.jp has address 192.168.1.55
test.jp has address 192.168.1.53
root@deepin:~# cat /etc/os-release
PRETTY_NAME=”Deepin 20 Beta”
NAME=”Deepin”
VERSION_ID=”20 Beta”
VERSION=”20 Beta”
ID=Deepin
HOME_URL=”https://www.deepin.com/”
BUG_REPORT_URL=”https://bbs.deepin.org/”
root@deepin:~# samba -V
Version 4.9.5-Debian
root@deepin:~# 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
——— ——-
Workgroup Master
——— ——-
WORKGROUP DESKTOP-0NRQL5D
root@deepin:~# smbclient //192.168.1.51/netlogon -Uadministrator
Deepin 20 Beta Samba4.9.5 Windows Server 2019 Datacenter Active Directory Domainののメンバーに参加してみた