Re: Samba on CentOS

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Bob Elzer
Date:  
To: Main PLUG discussion list
Subject: Re: Samba on CentOS
What is tbdconfig ?


On 2/19/2013 9:10 PM, Eric Cope wrote:
> I used tbdconfig to set my password instead of smbpasswd. I rebooted,
> and now it works.
>
> Thanks,
> Eric
>
>
>
> On Tue, Feb 19, 2013 at 8:59 PM, Eric Cope <
> <mailto:eric.cope@gmail.com>> wrote:
>
>     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
>     < <mailto:Lee.Reynolds@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 <http://a2c2.asu.edu>

>
>         GWC-558
>         480.965.9460 <tel:480.965.9460> (Office)
>         480.458.7434 <tel: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:

>
>          <mailto:support@hpchelp.asu.edu>

>
>
>
>         ________________________________________
>         From: 
>         <mailto:plug-discuss-bounces@lists.phxlinux.org>
>         [
>         <mailto:plug-discuss-bounces@lists.phxlinux.org>] on behalf of
>         Eric Cope [ <mailto:eric.cope@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 - 
>         <mailto:PLUG-discuss@lists.phxlinux.org>
>         To subscribe, unsubscribe, or to change your mail settings:
>         http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>
>
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss