[root@f33 ~]# kinit administrator Password for administrator@TEST.JP: [root@f33 ~]# samba-tool user add chibi Note: samba-tool user add is deprecated. Please use samba-tool user create for the same function. New Password: Retype Password: User 'chibi' created successfully [root@f33 ~]# wbinfo -u TEST\administrator TEST\guest TEST\krbtgt TEST\chibi [root@f33 ~]# wbinfo -n chibi S-1-5-21-2341956574-1872031460-3995669738-1103 SID_USER (1) [root@f33 ~]# net ads info LDAP server: 192.168.1.172 LDAP server name: f33.test.jp Realm: TEST.JP Bind Path: dc=TEST,dc=JP LDAP port: 389 Server time: 土, 29 2月 2020 06:48:50 JST KDC server: 192.168.1.172 Server time offset: 0 Last machine account password change: 土, 29 2月 2020 06:44:06 JST [root@f33 ~]# host -4 f33 f33.test.jp has address 192.168.1.172 [root@f33 ~]# host -t SRV _ldap._tcp.test.jp _ldap._tcp.test.jp has SRV record 0 100 389 f33.test.jp. [root@f33 ~]# host -t SRV _kerberos._udp.test.jp _kerberos._udp.test.jp has SRV record 0 100 88 f33.test.jp. [root@f33 ~]# host -t A f33.test.jp. f33.test.jp has address 192.168.1.172 [root@f33 ~]# smbclient -L localhost -U% Sharename Type Comment --------- ---- ------- sysvol Disk netlogon Disk IPC$ IPC IPC Service (Samba 4.12.0rc4) SMB1 disabled -- no workgroup available [root@f33 ~]# smbclient //localhost/netlogon -Uadministrator Enter TEST\administrator's password: Try "help" to get a list of possible commands. smb: \> ls . D 0 Sat Feb 29 06:44:03 2020 .. D 0 Sat Feb 29 06:44:06 2020 15718400 blocks of size 1024. 12991340 blocks available smb: \> exit [root@f33 ~]# smbclient //localhost/sysvol -Uadministrator Enter TEST\administrator's password: Try "help" to get a list of possible commands. smb: \> ls . D 0 Sat Feb 29 06:44:06 2020 .. D 0 Sat Feb 29 06:47:53 2020 test.jp D 0 Sat Feb 29 06:44:06 2020 15718400 blocks of size 1024. 12991340 blocks available smb: \> exit [root@f33 ~]# net ads lookup Information for Domain Controller: 192.168.1.172 Response Type: LOGON_SAM_LOGON_RESPONSE_EX GUID: c60e4381-8970-4449-af5a-e69c459840a3 Flags: Is a PDC: yes Is a GC of the forest: yes Is an LDAP server: yes Supports DS: yes Is running a KDC: yes Is running time services: yes Is the closest DC: yes Is writable: yes Has a hardware clock: yes Is a non-domain NC serviced by LDAP server: no Is NT6 DC that has some secrets: no Is NT6 DC that has all secrets: yes Runs Active Directory Web Services: no Runs on Windows 2012 or later: no Forest: test.jp Domain: test.jp Domain Controller: f33.test.jp Pre-Win2k Domain: TEST Pre-Win2k Hostname: F33 Server Site Name: Default-First-Site-Name Client Site Name: Default-First-Site-Name NT Version: 5 LMNT Token: ffff LM20 Token: ffff [root@f33 ~]# dig test.jp ; <<>> DiG 9.11.14-RedHat-9.11.14-5.fc32 <<>> test.jp ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29543 ;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;test.jp. IN A ;; ANSWER SECTION: test.jp. 900 IN A 192.168.1.172 ;; AUTHORITY SECTION: test.jp. 3600 IN SOA f33.test.jp. hostmaster.test.jp. 1 900 600 86400 3600 ;; Query time: 0 msec ;; SERVER: 192.168.1.172#53(192.168.1.172) ;; WHEN: 土 2月 29 06:51:20 JST 2020 ;; MSG SIZE rcvd: 92 [root@f33 ~]# samba -V Version 4.12.0rc4 [root@f33 ~]# cat /etc/redhat-release Fedora release 33 (Rawhide) [root@f33 ~]# wbinfo -t checking the trust secret for domain TEST via RPC calls succeeded [root@f33 ~]# wbinfo -g TEST\cert publishers TEST\ras and ias servers TEST\allowed rodc password replication group TEST\denied rodc password replication group TEST\dnsadmins TEST\enterprise read-only domain controllers TEST\domain admins TEST\domain users TEST\domain guests TEST\domain computers TEST\domain controllers TEST\schema admins TEST\enterprise admins TEST\group policy creator owners TEST\read-only domain controllers TEST\dnsupdateproxy [root@f33 ~]# klist Ticket cache: FILE:/tmp/krb5cc_0 Default principal: administrator@TEST.JP Valid starting Expires Service principal 2020-02-29T06:48:09 2020-02-29T16:48:09 krbtgt/TEST.JP@TEST.JP renew until 2020-03-01T06:48:05 [root@f33 ~]# smbclient -L localhost -U% Sharename Type Comment --------- ---- ------- sysvol Disk netlogon Disk IPC$ IPC IPC Service (Samba 4.12.0rc4) SMB1 disabled -- no workgroup available [root@f33 ~]#