Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to setup the SAMBA service to share file between RHEL 5 and Windows 7. I have both the operating systems in the same machine. I tried to setup as discussed in this link. I checked the workgroup name and it was WORKGROUP in Windows 7. I had setup the server preference as in the below screenshot.

enter image description here

I clicked on "Add share" button and am trying to share a small PDF file to the Windows 7. However, when I go to Windows 7 and check the network and sharing center, I do not see the shared file present there. Is there any other step that I am missing?

share|improve this question
The above tool just configures Samba, have you verified the samba service is actually running? Also, RHEL5 has two versions of Samba. samba is Samba 3.0 whereas samba3x is Samba 3.5. The latter is much more reliable, I would recommend ensuring that you're using the samba3x service, it is running, and there aren't any firewall rules blocking samba. – Bratchley Oct 22 '13 at 20:59
Until you get it working, I'd also do a setenforce 0 to switch SELinux into permissive mode so that becomes one less thing to figure out. – Bratchley Oct 22 '13 at 21:00
I added the firewall rule to allow samba sharing and also I verified the SAMBA service is running by using the command, service /sbin/smb/ start..It started and loaded OK. – Ramesh Oct 22 '13 at 21:34
up vote 1 down vote accepted

Unless you are running Windows or RHEL5 in a virtual machine this will not work. As soon as you shutdown your computer to boot into you're Windows image the Samba service stops.

What you can do is create a third partition that Windows will recognize and that Linux can mount. Step by instructions here: http://www.howtogeek.com/howto/35807/how-to-harmonize-your-dual-boot-setup-for-windows-and-ubuntu/

share|improve this answer
+1, I missed the "same machine" part. – Bratchley Oct 23 '13 at 12:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.