LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2009, 10:35 AM   #1
aheusdens
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Rep: Reputation: 0
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?

Last edited by aheusdens; 08-18-2009 at 10:37 AM.
 
Old 08-18-2009, 03:03 PM   #2
aheusdens
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Original Poster
Rep: Reputation: 0
bump
 
Old 08-18-2009, 08:42 PM   #3
aheusdens
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
  


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
Access Denied to create folder fedoraman Linux - Newbie 1 02-16-2008 10:03 AM
SAMBA able to access denied folder in Windows Micro420 Linux - Networking 2 09-04-2006 09:30 PM
Folder Access Problems: Permission Denied piva.francesco Linux - Software 3 03-28-2006 12:11 AM
samba : access denied for some user in same NT group on a folder mtrento Linux - Networking 0 06-27-2005 10:01 AM
Samba.. NT domain users access denied.. however.. StamfordRob Slackware 3 03-24-2005 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:27 AM.

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
Open Source Consulting | Domain Registration