Samba on CentOS

Eric Cope eric.cope at gmail.com
Tue Feb 19 20:59:49 MST 2013


ok, I ran getenforce. It was "enforcing". I ran setenforce permissive, but
I still have the issue.

Here is my conf entry:

[voltamp]
   comment = Voltamp File Space on 2
   valid users = +voltamp
   path = /voltamp
   force create mode = 0770
   force directory mode = 0770
   create mask = 0007
   read only = no
   writable = yes

 I did the smbpasswd for the user, but I can't find where the user is
added. my conf file says it uses the tdbsam, but I don't know much about it.

I checked my file permissions, they are set to 770. Any ideas?
Thanks,
Eric


On Tue, Feb 19, 2013 at 12:11 PM, Lee Reynolds <Lee.Reynolds at asu.edu> wrote:

> The conf file isn't the only thing you need to copy.  You also need the
> file(s) that hold the samba passwords.  Where this file is and what it is
> called has changed in more recent versions of samba, so you'll have to do
> some looking.  Your smb.conf file should tell you something.  The smbusers
> file might also need to be copied.
>
> Also, as others have mentioned, SELINUX is a hell of a drug.  Luckily it
> can be configured to let samba do its thing.  I did this myself recently
> and only two changes were required, but don't ask me to repeat them from
> memory.  There is a tool in KDE that runs in the system tray that tells you
> when selinux is fussing, and it also provides tips on how to make it be
> quiet.  This is how I got it working on my laptop.
>
>
>
> Lee Reynolds
> Systems Analyst Principal
> ASU Advanced Computing Center
> a2c2.asu.edu
>
> GWC-558
> 480.965.9460 (Office)
> 480.458.7434 (Mobile)
>
> Have an A2C2 related question or problem?
>
> Just send an email to the following address detailing
> the nature of the question or problem and a service request
> will be created automatically:
>
> support at hpchelp.asu.edu
>
>
>
> ________________________________________
> From: plug-discuss-bounces at lists.phxlinux.org [
> plug-discuss-bounces at lists.phxlinux.org] on behalf of Eric Cope [
> eric.cope at gmail.com]
> Sent: Tuesday, February 19, 2013 11:21 AM
> To: Main PLUG discussion list
> Subject: Samba on CentOS
>
> Hi all,
> I am trying to get Samba to installed on a CentOS 6.2 machine. I have
> read-only access working, but when I try to make edits to files, it claims
> I don't have permissions. I copied my smb.conf file from another machine
> that had things working, so the conf file should be good.
>
> I read some online about SELinux settings. I tried setting a few, but it
> had no change. Does anyone have any ideas?
>
> Thanks,
> Eric
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20130219/22187077/attachment.html>


More information about the PLUG-discuss mailing list