mount -t smbfs -o username=windowsUser,password=windowsPassword //Compname/Sharename /dev/mountpoint
for this to work you will have to share the dir in the windows and use the username and password if required as given. To have it automounted on boot you will have to add a new line to the etc/fstab
//Compname/Sharename /dev/mountpoint smbfs username=windowsUser,password=password,user
this should work as it is working for me.. :-)
rules..