Ubuntu20.04 Samba4.11.6 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた


root@2004:~# kinit administrator
Password for administrator@TEST.JP:
root@2004:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘2004’ to dns domain ‘test.jp’
No DNS domain configured for 2004. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@2004:~# systemctl restart winbind
root@2004:~# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
root@2004:~# wbinfo -n chibi
S-1-5-21-3153889836-307192526-2969236381-1103 SID_USER (1)
root@2004:~# net ads info
LDAP server: 192.168.1.55
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 水, 06 5月 2020 11:41:09 JST
KDC server: 192.168.1.55
Server time offset: 0
Last machine account password change: 水, 06 5月 2020 11:40:26 JST
root@2004:~# smbclient -L localhost -U%

Sharename Type Comment
——— —- ——-
netlogon Disk
sysvol Disk
print$ Disk Printer Drivers
IPC$ IPC IPC Service (Samba 4.11.6-Ubuntu)
SMB1 disabled — no workgroup available
root@2004:~# smbclient //192.168.1.51/netlogon -Uadministrator
Enter TEST\administrator’s password:
Try “help” to get a list of possible commands.
smb: \> ls
. D 0 Tue May 5 18:07:50 2020
.. D 0 Tue May 5 18:07:50 2020

58449919 blocks of size 4096. 44295516 blocks available
smb: \> exit
root@2004:~# smbclient //192.168.1.51/sysvol -Uadministrator
Ubuntu20.04 Samba4.11.6 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた

カテゴリー: samba4, ubuntu, windows パーマリンク

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です