LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   samba users denied folder access (https://www.linuxquestions.org/questions/linux-software-2/samba-users-denied-folder-access-748443/)

aheusdens 08-18-2009 10:35 AM

samba users denied folder access
 
I recently set up a CentOS 5.3 server and installed samba. After adding the users to the system using the smbpasswd -a command I moved on to editing the smb.conf file. I changed the workgroup name, netbios name, and uncommented the default public share (made sure the folders existed and the path was correct). I get prompted for my login credentials (like I should when using the default 'user' security method) and when I enter them it then shows me the public folder but when I try to access it I get an access denied error. I am logging in as root so I know the account has permission for the folders but I did double check. I then created another share making sure that the root has access and the same thing happens. I get prompted for credentials, the system accepts them, but I can't get into any folders. I then changed the security method to 'share' and it didn't require me to enter credentials when connecting but I get the same access denied error. I ran testparm on the smb.conf file and it checks out ok. Any idea what the problem might be?

aheusdens 08-18-2009 03:03 PM

bump

aheusdens 08-18-2009 08:42 PM

After doing some more research it turned out that I did not correctly setup selinux. After modifying the configuration file for selinux at /etc/selinux/config (changed the setting from enforcing to disabled, for now) and rebooting, everything was working without a problem.


All times are GMT -5. The time now is 10:45 PM.