Assuming that samba is running
Assuming that Windows has no firewall blocking
Assuming that the folder on the Windows machine is already shared for all
Assuming the hostname of the windows server is served by a DNS or in /etc/hosts then the name can be used. (If not then use the ip)
So, where dante is the Windows host and styx is a Linux server.
[root@styx /]# mkdir /mnt/everyone
[root@styx /]# chmod -R 777 /mnt/everyone
[root@styx /]# mount //dante/everyone /mnt/everyone
To automatically mount the volume then it would be a good idea to add a line to /etc/fstab
At the end of the file (which I first made a temporary copy of)
//dante/everyone /mnt/dante/everyone cifs password=
Once saved then at the prompt, mount -a to reload the table and be able to access the mount.