LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Windows file server (https://www.linuxquestions.org/questions/linux-newbie-8/windows-file-server-893854/)

mleppelman 07-26-2011 09:23 AM

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?

DBabo 07-26-2011 01:14 PM

sorry - are you trying to set up samba on fedora or you are trying to set up samba on windows?

brian-ocs 07-26-2011 01:17 PM

Can you print your /etc/samba/smb.conf file?

Also, is SELinux set to "enforcing" or "permissive"?
(what does the command getenforce return?)

zer0signal 07-26-2011 01:35 PM

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

frankbell 07-26-2011 08:51 PM

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.

mleppelman 07-27-2011 07:58 AM

I thank you for all the sugestion. I have the system working.


All times are GMT -5. The time now is 11:41 PM.