[root@f34 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f34 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘F34’ to dns domain ‘test.jp’
No DNS domain configured for f34. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@f34 ~]# systemctl restart winbind
[root@f34 ~]# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
[root@f34 ~]# wbinfo -n chibi
S-1-5-21-4252828235-1945649609-3318306072-1103 SID_USER (1)
[root@f34 ~]# smbclient -L localhost -U%
do_connect: Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
[root@f34 ~]# smbclient -L 192.168.1.27 -U%
Sharename Type Comment
——— —- ——-
SMB1 disabled — no workgroup available
[root@f34 ~]# smbclient //192.168.1.27/netlogon -Uadministrator
Enter TEST\administrator’s password:
Try “help” to get a list of possible commands.
smb: \> ls
. D 0 Sun Sep 6 14:00:34 2020
.. D 0 Sun Sep 6 14:00:34 2020
124869119 blocks of size 4096. 119059171 blocks available
smb: \> exit
[root@f34 ~]# smbclient //192.168.1.27/sysvol -Uadministrator
Enter TEST\administrator’s password:
Try “help” to get a list of possible commands.
smb: \> ls
. D 0 Sun Sep 6 14:00:34 2020
.. D 0 Sun Sep 6 14:00:34 2020
test.jp Dr 0 Sun Sep 6 14:00:34 2020
124869119 blocks of size 4096. 119059171 blocks available
smb: \> exit
[root@f34 ~]# net ads info
Fedora release 34 Samba4.13.0rc3 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた