Smbclient
From DWIKI
Examples
smbclient -L somehost -U username
smbclient //smbserver/homes -U username
FAQ
protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED
Try in smb.conf:
max protocol = SMB2
mount -t cifs: mount error 13 = Permission denied
Pretty much always credentials/authentication problem.