Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-26-2011, 10:23 AM   #1
LQ Newbie
Registered: Apr 2011
Posts: 13

Rep: Reputation: 0
Windows file server

I am trying to set up a windows file server using fedora 14 with samba. when I go to the a windows machine I can log in the the samba server. When I try to go to the folder I need access to I get and error saying "you might not have permission to use this network resource" I am trying to access my home directory. Directory /home/mike, username mike. As far as I can tell it is not a permission of the directory. I have a user set up in samba that uses the mike user account. I have also read something about labeling the directory. How do I do this?

Last edited by mleppelman; 07-26-2011 at 10:24 AM.
Old 07-26-2011, 02:14 PM   #2
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 475

Rep: Reputation: 37
sorry - are you trying to set up samba on fedora or you are trying to set up samba on windows?
Old 07-26-2011, 02:17 PM   #3
LQ Newbie
Registered: Jul 2011
Location: San Diego, CA
Distribution: CentOS 6, Linux Mint Debian Edition
Posts: 18

Rep: Reputation: 1
Can you print your /etc/samba/smb.conf file?

Also, is SELinux set to "enforcing" or "permissive"?
(what does the command getenforce return?)
Old 07-26-2011, 02:35 PM   #4
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
more than likely with it being Fedora/Redhat SELinux is set to enforcing...

run this command:
setsebool -P samba_enable_home_dirs on

that should allow SMB to work on home dir's with SELinux
Old 07-26-2011, 09:51 PM   #5
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,773
Blog Entries: 17

Rep: Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313
If you are trying to set up a Linux-based file server to be used by Windows clients, I suggest this link. It progresses from simple to complex examples, with sample smb.conf files.
Old 07-27-2011, 08:58 AM   #6
LQ Newbie
Registered: Apr 2011
Posts: 13

Original Poster
Rep: Reputation: 0
I thank you for all the sugestion. I have the system working.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Pug Server Linux file server no longer shares drive to Windows DMT Linux - Networking 6 11-19-2009 03:21 PM
Linux File Server + Windows server 2008 Users lgpk Linux - Server 1 05-04-2009 11:19 AM
Windows file permissions with a Linux file server joseph_k Linux - Server 3 05-09-2008 01:54 PM
Linux vs Windows 2003 Server - Which is the fastest file server th3joker Linux - Server 9 11-03-2007 09:37 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:48 AM.

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