rpc
rpcclient -N -U "" $snookumsThis worked
rpcclient $> srvinfo
SNOOKUMS Wk Sv PrQ Unx NT SNT Samba 4.10.4
platform_id : 500
os version : 6.1
server type : 0x809a03
rpcclient $> enumdomains
name:[SNOOKUMS] idx:[0x0]
name:[Builtin] idx:[0x1]
rpcclient $> enumdomgroups
rpcclient $> querydominfo
Domain: SAMBA
Server: SNOOKUMS
Comment: Samba 4.10.4
Total Users: 0
Total Groups: 0
Total Aliases: 0
Sequence No: 1735496604
Force Logoff: -1
Domain Server State: 0x1
Server Role: ROLE_DOMAIN_PDC
Unknown 3: 0x1
rpcclient $> getusername
Account Name: Anonymous Logon, Authority Name: NT Authority
Last updated
Was this helpful?