• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

Linux box shares not accessible from windows PC. Both are wireless.

I am trying to setup Fedora as a file server. I cant seem to get access to the shares from a windows PC.

I have a clean build of Fedora running. Samba is setup. All the components I could find in the Yum downloader have been installed. The workgroups match. I can see the share I setup on the Fedora box from a PC laptop, but when I go to access them i get \\COMPUTER\SHARE is not accessible. I have setup the share to be r/w, visible and public. The only thing I am real curious about is the wireless thing. Both Fedora and the Laptop are running wirelessly, Does anybody have any I dea?
Thanks Jim
0
cbspectre
Asked:
cbspectre
1 Solution
 
ygouthamCommented:
are the directory permissions set right.

most often people create shares using a "root" id and end up with no access for the rest of the world.  change the ownership of the folder to a 770 with proper User.Group names defined.

check on the SELINUX part

check on the Firewall (system-config-securitylevel) part to see if samba is allowed access.

If it is only a LAN file sharing server, you might want to consider removing the above two as i do not see too much of a security threat there.
0
 
cbspectreAuthor Commented:
Thanks for the info. HEre is what I found and used to eventually solve the problem:

Run system-config-securitylevel
Firewall Options:
To allow Samba access to work through your firewall you must set 'Samba' as a 'Trusted service'.
SELinux:
Modify SELinux Policy > Samba Disable SELinux protection for smbd daemon
On the command line you can run:
[root@charon ~]# setsebool -P smbd_disable_trans 1
Run man samba_selinux for more help.
For any changes made above to the SELinux settings or smb.conf, it is recommended to restart Samba.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now