https://www.samba.org/samba/docs/current/man-html/smbclient.1.html
Basis
smbclient -L [TARGET_IP] --no-passList Shares anonymously.
smbclient -L [TARGET_IP] -U myUserList Shares with a user.
smbclient //[TARGET_IP]/mySmbShareConnect to a Share.
Flags
-LList Shares.
-U myUserSpecify the user.
-NNo password (--no-pass).
-p 12Specify the port.