I don’t work with Linux as often as Windows, but sometimes need to pull some data to a Linux box. It’s as much of a reference for me as anyone. I’ve used this on Ubuntu and Fedora, but it should work for pretty much any distro.
Test for a share:
smbclient -L <windows-box> -U <username>
Make a directoy for the mountpoint:
mkdir /mnt/<name-of-mountpoint>
For this example I will name the mountpoint ntserver
Mount the share utilizing cifs:
mount -t cifs //servername/share -o username=myUsername,password=myPassword /mnt/ntserver
Remove the share when finished:
Umount /mnt/<mount-point>