smbclient -L <servername>
But I couldn't mount it. Maybe you can -- before you futz with other
things, try to mount the samba share you want so:
mount -t smbfs -o username=name,password=passwd //server/share
For this to work, however, you have to have smbfs in your kernel. I didn't, and I didn't know how to put it there.