apt-get install cifs-utils
Check whether your shares are accessible:
$ smbclient -L machine # or # smbclient -L machine -U user