I’m using CentOS 5.5.
Make sure your Linux has Samba client installed. If not, run the below to install it:
# yum install samba-client
Now mount Windows share:
# mount -t cifs //win_server/share -o username=theuser,password=thepwd /mnt/winshare
-t cifs: file system type. Use smbfs instead if using an old version Linux
//win_server/share: the shared folder on a Windows machine
-o …: used to specify options. Here it’s used to specify the username/password pair to access the share on Windows
/mnt/winshare: the mount point on Linux