Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd November 2012, 12:27 AM
gurutech Offline
Registered User
 
Join Date: Nov 2008
Location: Central NJ
Posts: 292
windows_7firefox
File server, need to share files but can't

I just set up a Linux server (running Centos, but it's RPM-based, similar to Fedora), and I have a second drive installed (currently NTFS partition, but that shouldn't matter, right?) I can access the drive locally, as it is mounted via /etc/fstab.

I want to share a folder called "allshared" on this drive (not the / folder). I need to share this via NFS (for my Fedora box) and via Samba for my Windows box.

I can see this computer via the network, and have opened all appropriate ports on the firewall, however whenever I try to mount (NFS) or map (Samba) this share, I am asked for a username and password, none of which work. I have tried server\username, username, "root", etc... but nothing seems to work.

I have verified that the user I would like to add is in the smbusers file, but I'm not having any luck actually sharing the content.

Is there something I am missing?
Reply With Quote
  #2  
Old 22nd November 2012, 02:00 AM
smr54 Offline
Registered User
 
Join Date: Jan 2010
Posts: 4,976
linuxchrome
Re: File server, need to share files but can't

Firstly, one of the mods will almost certainly move this to Linux chat, as it's actually CentOS, not Fedora. This confuses many people, and they often don't explain why they did it, but that's why--if it isn't Fedora, even if it's RedHat (or a RedHat clone), it gets moved.

With both NFS and Samba, SELinux can sometimes be the culprit. I have a page for some common RH/Fedora samba errors at http://home.roadrunner.com/~computer...u/rhsamba.html although from your post, it looks like you've covered most of them. (However, my page also has a link to the very useful samba troubleshooting page).

I would start by running setenforce 0 (which temporarily stops SELinux) and see if that's the issue. If so, then you know where to look. If not, it's still possible that there's a firewall issue.
Reply With Quote
  #3  
Old 22nd November 2012, 02:19 AM
gurutech Offline
Registered User
 
Join Date: Nov 2008
Location: Central NJ
Posts: 292
windows_7firefox
Re: File server, need to share files but can't

I actually did that between the time I posted and your response. Well, I went into the selinux.conf file and disabled it there. I don't really need it.

But then I got a kernel panic, so I booted without the "quiet" option, and found it was selinux causing that, so I added "selinux=0" to the boot line and was able to boot up again, but still getting the same issue. So I know it's not selinux causing the problem.

I even tried disabling the NFS, since I am able to accomplish the same thing (over Samba) from my Fedora 17 box. The only difference is that my Fedora 17 box uses IDE drives, and this one uses SATA, but I know that can't be the issue.
Reply With Quote
Reply

Tags
file, files, server, share

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stream/share music/files server? Onemajorflaw Servers & Networking 19 14th June 2010 03:58 PM
Best way to share files between FC6 server and FC6 client? kdekooter Servers & Networking 2 15th April 2007 02:56 AM
File/Folder permissions on files server bcreeve Servers & Networking 1 16th October 2006 08:38 AM
VMware Server - how to share files between FC and XP? homer99 Using Fedora 7 24th July 2006 03:18 PM
FTP server cannot upload files from SSH file sharing chicom9 Servers & Networking 4 28th June 2006 07:35 PM


Current GMT-time: 02:14 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat