Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
workgroup = home
netbios name = Samba
encrypt passwords = yes
[homes]
writeable = yes
browseable = no
My account is the same on both my Linux and XP machines. I used "smbpasswd -a [username]" to add the password to samba.
When I attempt to connect to Samba from XP, I am told by XP that the password is incorrect. This is also indicated in the samba logs. I have verified that the Linux and XP passwords match, and that the smbpasswd password is also the same.
Do I need to set some sort of special permissions to allow the samba process to access the home directories for the shares?
Check for the permissions of the shared directory.
First try chmod 777 /home/shared_directory
If I'm correct, since I'm using the [homes] configuration, only my user should need rights to the /home/user directory, right? I shouldn't need to give other users access to my user's data.
Do you have SelInux enabled? If so, it is not allowing writes/deletes/updates to the share. You will need to create new policies to all samba to do those activities.
Do you have SelInux enabled? If so, it is not allowing writes/deletes/updates to the share. You will need to create new policies to all samba to do those activities.
Thank for for this. I did some research, and with a "setenforce 0" to temporarily disable SELinux allowed my connection to be established. So now I need to figure out how to permanently disable it only for smb.
Thank for for this. I did some research, and with a "setenforce 0" to temporarily disable SELinux allowed my connection to be established. So now I need to figure out how to permanently disable it only for smb.
I will post the commands here later on when I get home from work on how to make new policies.
Following link provide how to disable selinux for apache in three ways :
1. Using graphical interface fo system-config-securitylevel.
2. Running setsebool command to boolean value of selinux parameters.
3. Directly changing boolean value in /etc/selinux/targeted/booleans.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.