 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

8th October 2010, 12:33 AM
|
|
Registered User
|
|
Join Date: Oct 2010
Posts: 10

|
|
|
Re: Cannot Access Fedora Shares
Hi Glenn,
I have the new smb.conf, and have tested.
result:
"The network path was not found".
I assume the host name is the name of the Fedora box (Trout).
|

8th October 2010, 12:46 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930

|
|
|
Re: Cannot Access Fedora Shares
The hostname is what you see when you type at the command prompt
Code:
[glenn@leonardo ~>$ hostname
leonardo
And probably what's shown at your command prompt.
Is the firewall turned off? If it is on you can try turning it off again or you can open System > Administration > Firewall and make sure Samba and Samba Client are checked as allowed.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

8th October 2010, 01:04 AM
|
|
Registered User
|
|
Join Date: Oct 2010
Posts: 10

|
|
|
Re: Cannot Access Fedora Shares
Hi,
Quote:
Originally Posted by glennzo
Is the firewall turned off? If it is on you can try turning it off again or you can open System > Administration > Firewall and make sure Samba and Samba Client are checked as allowed.
|
Both Samba and Samba Client are checked. I also just tried with firewall disabled, still nothing.
Thanks for all this effort Glenn,
Brian
|

8th October 2010, 01:58 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930

|
|
|
Re: Cannot Access Fedora Shares
You're welcome. We must be missing something obvious but I have to call it a night. It's getting late and these ageing eyes are getting tired.
Some leisure reading for you. http://www.samba.org/samba/docs/. I'll expect a full report on my desk in the morning
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

8th October 2010, 05:47 AM
|
|
Registered User
|
|
Join Date: Oct 2010
Posts: 10

|
|
|
Re: Cannot Access Fedora Shares
Quote:
Originally Posted by glennzo
You're welcome. We must be missing something obvious but I have to call it a night. It's getting late and these ageing eyes are getting tired.
Some leisure reading for you. http://www.samba.org/samba/docs/. I'll expect a full report on my desk in the morning 
|
Thanks, I'll give that a read. I hope to have some progress to report.
Thanks again,
Brian
---------- Post added at 09:47 PM GMT ---------- Previous post was at 06:11 PM GMT ----------
HI. Problem solved!
I read a bunch more about Samba which was good, but didn't feel like much applied to the problem or was new to what we tried. So I went back to an earlier suggestion that you made, regarding SELinux. I mentioned that I new very little about it, but it occurred to me that if you brought it up, it must be important.
So I took the time to learn something about SELinux, and once I figured I got the basic idea, I started looking and sure enough, there are options to allow/block Samba from read/write to several different directory options.
Getting stuck on a problem is very frustrating, but it's a good way to learn. Thanks a bunch Glenn for leading me through the process and letting me know what questions needed to be asked. I would likely be stuck for weeks had you not helped me out.
Thanks again for the help.
Cheers,
Brian
|

12th October 2010, 09:28 PM
|
 |
Registered User
|
|
Join Date: May 2009
Location: Tampa, FL, previously Chicago, IL
Posts: 137

|
|
|
Re: Cannot Access Fedora Shares
Could you run the command:
getfacl /temp/ and post the results of the ACL list.
__________________
Steve Kline - RHCSA, MCITP: Server Admin
|

11th July 2011, 11:51 PM
|
|
Registered User
|
|
Join Date: Jun 2011
Posts: 9

|
|
|
Re: Cannot Access Fedora Shares
Guys, thanks a lot for this discussion!
I was stuck with the same problem of sharing a folder in Fedora 15 for couple of weeks. Couple clicks in SELinux GUI administration tool fixed it all!!
Now I feel some anger toward Fedora developers (even though they did an awesome job) that they did not let SELinux to allow Samba to share folders by default.
|

12th July 2011, 10:38 AM
|
 |
Registered User
|
|
Join Date: May 2009
Location: Tampa, FL, previously Chicago, IL
Posts: 137

|
|
|
Re: Cannot Access Fedora Shares
Quote:
Originally Posted by uaPtah
Guys, thanks a lot for this discussion!
I was stuck with the same problem of sharing a folder in Fedora 15 for couple of weeks. Couple clicks in SELinux GUI administration tool fixed it all!!
Now I feel some anger toward Fedora developers (even though they did an awesome job) that they did not let SELinux to allow Samba to share folders by default.
|
There's a lot of security functions by default.
__________________
Steve Kline - RHCSA, MCITP: Server Admin
|

23rd December 2011, 11:11 PM
|
 |
Registered User
|
|
Join Date: Dec 2011
Location: Berlin
Posts: 5

|
|
Re: Cannot Access Fedora Shares
Quote:
Originally Posted by uaPtah
Guys, thanks a lot for this discussion!
I was stuck with the same problem of sharing a folder in Fedora 15 for couple of weeks. Couple clicks in SELinux GUI administration tool fixed it all!!
Now I feel some anger toward Fedora developers (even though they did an awesome job) that they did not let SELinux to allow Samba to share folders by default.
|
Would be nice to know what you have clicked to get it going mate.
|

24th December 2011, 02:01 AM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: Cannot Access Fedora Shares
All you need to do is to look in your /etc/samba/smb.conf file and it tells you all you need to do to get samba and selinux set up to work properly.
It gives the commands. You just need to copy/paste
It's just that the context is set differently depending upon how you wish to share things with samba, that it's impossible for them to get things set up to work right out of the box.
|

24th December 2011, 03:51 AM
|
 |
Registered User
|
|
Join Date: Dec 2011
Location: Berlin
Posts: 5

|
|
|
Re: Cannot Access Fedora Shares
there we go! reading is gold, eh?
thanks for the simple push
|

24th December 2011, 04:29 AM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: Cannot Access Fedora Shares
yep  But it still can be confusing after reading through the smb.conf comments, too. Selinux can be confusing until you really dig into it and learn how things work, which most people don't or won't do.
At least after reading through the smb.conf file, you should figure out more directed question to ask if you still need help, and you should get someone that knows the answers.
A directed question is much easier to answer than a "samba won't work with selinux"
|

24th December 2011, 03:58 PM
|
 |
Registered User
|
|
Join Date: Dec 2011
Location: Berlin
Posts: 5

|
|
|
Re: Cannot Access Fedora Shares
for now no help needed but i know where you're coming from! i'll keep that in mind. wish you some great holidays!
|

25th December 2011, 01:02 AM
|
 |
Registered User
|
|
Join Date: May 2009
Location: Tampa, FL, previously Chicago, IL
Posts: 137

|
|
|
Re: Cannot Access Fedora Shares
Indubiously! I like the facepalm smiley... I'll have to notate that for future use! XD
__________________
Steve Kline - RHCSA, MCITP: Server Admin
|

22nd March 2012, 05:50 PM
|
|
Registered User
|
|
Join Date: Jun 2011
Posts: 9

|
|
Re: Cannot Access Fedora Shares
Quote:
Originally Posted by marylue
Would be nice to know what you have clicked to get it going mate.
|
Marylue, you can check following thread for more info:
http://forums.fedoraforum.org/showthread.php?t=266706
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 08:56 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|