Samba

# install required programs
sudo apt-get install smbfs
#sudo apt-get install smbclient
 
# mount windows share from command line
mount -t smbfs -o username=<username>,password=<password> //<win-box>/<share> /mnt/<name-of-mountpoint>
 
# fstab
echo "//192.168.0.22/video /home/cam cifs auto,user=guest,uid=cam,gid=cam 0 0" >> /etc/fstab
mount -a
 
# test share
smbclient //win1/share1 -U foo
 
# Links
http://wiki.ubuntuusers.de/Samba_Client_cifs