Solved

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

Posted on 2007-04-08
2
202 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now