opensuse:~ # kinit administrator
kinit: Credential cache directory /run/user/0/krb5cc does not exist while getting default ccache
opensuse:~ # mkdir /run/user/0/
opensuse:~ # kinit administrator
Password for administrator@TEST.JP:
opensuse:~ # net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘OPENSUSE’ to dns domain ‘test.jp’
No DNS domain configured for opensuse. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
opensuse:~ # systemctl restart winbind
opensuse:~ # wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
opensuse:~ # wbinfo -n chibi
S-1-5-21-549501848-3507064458-2843809997-1103 SID_USER (1)
opensuse:~ # net ads info
LDAP server: 192.168.1.22
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Sat, 25 Jul 2020 16:07:55 JST
KDC server: 192.168.1.22
Server time offset: -2
Last machine account password change: Sat, 25 Jul 2020 16:04:43 JST
opensuse:~ # smbclient -L localhost -U%
do_connect: Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
opensuse:~ # smbclient -L 192.168.1.22 -U%
Sharename Type Comment
——— —- ——-
SMB1 disabled — no workgroup available
opensuse:~ # smbclient //192.168.1.22/netlogon -Uadministrator
OpenSUSE Tumbleweed Samba4.12.5 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた