apt-get install smbclient smbfs (oppure, se non c'è, apt-get install smbclient cifs-utils e poi apt-get install smbclient)
smbclient -L nome_server -U user
mkdir /nome_cartella_locale
mount -t cifs -o username=user,password=pw //server/cartella_condivisa /nome_cartella_locale
Per creare una condivisione permanente:
https://wiki.ubuntu.com/MountWindowsSharesPermanently