LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-26-2011, 09:23 AM   #1
mleppelman
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 09:24 AM.
 
Old 07-26-2011, 01:14 PM   #2
DBabo
Member
 
Registered: Feb 2003
Distribution: Scientific Linux 6, Fedora
Posts: 456

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, 01:17 PM   #3
brian-ocs
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, 01:35 PM   #4
zer0signal
Member
 
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, 08:51 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,152
Blog Entries: 14

Rep: Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081
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, 07:58 AM   #6
mleppelman
LQ Newbie
 
Registered: Apr 2011
Posts: 13

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


Reply


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 02:21 PM
Linux File Server + Windows server 2008 Users lgpk Linux - Server 1 05-04-2009 10:19 AM
Windows file permissions with a Linux file server joseph_k Linux - Server 3 05-09-2008 12:54 PM
Linux vs Windows 2003 Server - Which is the fastest file server th3joker Linux - Server 9 11-03-2007 08:37 AM


All times are GMT -5. The time now is 05:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration