LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-14-2005, 04:12 PM   #1
issinho
Member
 
Registered: Jun 2005
Location: Bosie, ID
Distribution: Fedora Core 4, Kurumin,BackTrack, Slackware 10.2, IPCop
Posts: 105

Rep: Reputation: 15
Fedora4+Samba=Major headache


I just installed Fedora 4 at home and am having one hard time getting Samba to work properly. All I want is to create the homes directories and I want one folder that is public.

Now, for the Home directories, I simply used the default configurations. Samba allows me to authenticate okay (I see my user's home directory) but it won't allow me to write to it.

In another instance, I can view the files in windows, but I cannot open the file. Winblows just tells me that the network location cannot be found.

Any Ideas would be absolutely wonderful



 
Old 07-15-2005, 01:41 PM   #2
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
I use webmin to admin alot of my services, try it it works well with samba and lets you set read & write access easily
 
Old 07-18-2005, 10:27 AM   #3
shithead
LQ Newbie
 
Registered: Jul 2005
Location: Moscow, ID and Idaho Falls, ID
Distribution: Fedora, Gentoo
Posts: 3

Rep: Reputation: 0
I went throught the exact same problems. I spent alot of time trying to track down the cause of the newly eratic behavior of Samba in FC4. FC2 and 3beta worked perfectly for me, but after the switch, permissions went nuts.

After some serious reading, I stumbled into a change in the SELinux policies affecting Samba.


Disable SELinux, or downgrade your policy strength, and you should get control of Samba back.



Enjoy.
 
Old 07-18-2005, 02:13 PM   #4
issinho
Member
 
Registered: Jun 2005
Location: Bosie, ID
Distribution: Fedora Core 4, Kurumin,BackTrack, Slackware 10.2, IPCop
Posts: 105

Original Poster
Rep: Reputation: 15
THX

Awesome, thanks. I really appreciate your guys' help with this.

 
Old 07-18-2005, 02:20 PM   #5
shithead
LQ Newbie
 
Registered: Jul 2005
Location: Moscow, ID and Idaho Falls, ID
Distribution: Fedora, Gentoo
Posts: 3

Rep: Reputation: 0
Anything for a fellow Idahoan, and a linux user no less.
 
Old 07-19-2005, 04:00 AM   #6
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
The default firewall installed by fedora stops netbios from working. It blocks ports 137 and 138 which are the ports used by the SMB protocol. I think FC needs to look at this and provide a much better way of setting up a firewall.
 
Old 07-19-2005, 09:44 AM   #7
shithead
LQ Newbie
 
Registered: Jul 2005
Location: Moscow, ID and Idaho Falls, ID
Distribution: Fedora, Gentoo
Posts: 3

Rep: Reputation: 0
use lokkit on the command line for a very VERY easy way to setup a firewall.
Just specify the ports and go. Nothing more.




No reason to have to walk through the IPtables syntax.
 
Old 08-16-2005, 01:54 AM   #8
JohnLocke
Member
 
Registered: Jun 2004
Location: Denver, Colorado
Distribution: Ubuntu
Posts: 240

Rep: Reputation: 31
I think fedora realized they'd made some mistakes and made some allowances for samba to run. You can disable the SELinux protection for smdb, nmdb, and winbind from within the SELinux setup. That works to correct the problem. More in depth is under discussion here:
http://www.linuxquestions.org/questi...=samba+SELinux
 
Old 09-24-2005, 11:45 AM   #9
James_Ecker
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
I just posted a solution without disabling SELinux. Do a search on my user name to locate the solution.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora4 and Ubuntu boxes won't Samba futz Linux - Networking 8 10-18-2005 01:41 AM
Major router headache stutterbug Linux - Networking 4 06-04-2005 10:06 PM
Major Headache with Fedora 2 to 3 Upgrade using U2date atko Fedora 6 12-20-2004 05:36 PM
Samba Headache jbstew32 Linux - Networking 0 12-23-2003 06:16 PM
Major modem headache scagman Linux - General 6 06-09-2003 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration