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