1 sudo vi /etc/fstab
in this file, add the line as,
//host_machine_name/d$ /mount smbfs user=foo,domain=bar,password=alice_password,iocharset=utf8 0 0
notice that you should replace the corresponding things.
at first, you should make sure you'd install smbfs, and have already create /mount directory in the local machine.