Solved

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

Posted on 2007-04-08
2
213 Views
Last Modified: 2013-12-15
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
Comment
Question by:cbspectre
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Accepted Solution

by:
ygoutham earned 500 total points
ID: 18874534
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
 

Author Comment

by:cbspectre
ID: 18875429
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

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question