OpenStack / Cloud / Virtualizaton / Linux

RHEL6 -Samba Home Directory Configuration

Ok, this is the last in my series of articles on samba. I have written two previously that are much more in depth, however this one is going to be a simple step by step on the process of how to configure Samba to share home directories.

Now I am going to assume that you have already installed and started samba. If you have not then you need to go here.

First we are going to add a samba only user named "sambaonly"

# useradd -s /bin/nologin sambaonly

Now lets create a samba password for the user we just created above

# smbpasswd -a sambaonly

Now turn on the "samba_enable_home_dirs" so that you can share home directories.