Points to be considered
1. You can mount a particular shared folder and not the machine name or IP
For eg: You can mount //192.168.0.100/deepak but you cannot mount //192.168.0.100
2. You need to have login credential for the windows share access even if the share is accessible with full permission for everyone.
On Linux RHEL 5 or above
# mount -t cifs "//path_to_windows_share/Folder_name" -o username=deepak,password=my_password /mnt
On Linux RHEL 4 or below
# mount -t smbfs "//path_to_windows_share/Folder_name" -o username=deepak,password=my_password /mnt
Here /mnt is the local mount point on Linux. You can use any other mount point in your case.
Once the above command is executed make sure it ran without any error
# echo $?
/dev/sda3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
//192.168.0.100/deepak on /mnt type cifs (rw)
Now you can use /mnt as any other linux directory.
# cd /mnt
Let me know your success and failures.
How to set environment (PATH) variable permanently in Linux
Give an alias entry in Linux
Follow the below links for more tutorials
How to configure Samba 4 Secondary Domain Controller
How to secure Apache web server in Linux using password (.htaccess)
How to register Red Hat Linux with RHN (Red Hat Network )
Red hat Enterprise Linux 5.5 Installation Guide (Screenshots)
15 tips to enhance security of your Linux machine
Why is Linux more secure than windows and any other OS
What is the difference between "su" and "su -" in Linux?
What is swappiness and how do we change its value?
How to log iptables messages in different log file
What are the s and k scripts in the etc rcx.d directories
How to check all the currently running services in Linux
How to auto start service after reboot in Linux
What is virtual memory, paging and swap space?