Smbclient is a tool used to communicate with SMB servers. The following command will list out all available shares on the target server using valid credentials.
Command Reference:
Target IP: 10.10.10.1
Domain: test.local
User: test
Password: Welkom01!
smbclient -L <ip> -U Guest