[Samba] how to automatically create the home directory

Rowland penny rpenny at samba.org
Thu Oct 10 12:34:41 UTC 2019

On 10/10/2019 13:05, Mason Schmitt wrote:
>     > If you're on a RedHat system with selinux (RHEL, CentOS,
>     fedora), then
>     > it looks like
>     > <https://danwalsh.livejournal.com/69837.html> pam_oddjob_mkhomedir
>     > will create the home directories for you and also ensure that the
>     > correct selinux labels are applied.  I have this on my todo
>     list, as
>     > I'm currently using the ADUC method, which is labour intensive.
>     This will only create the home directories if the user logs into the
>     Unix domain member directly, it will not work if a user just
>     connects to
>     a Samba share.
> Oh, that's good to know.  Thanks.
> I'm now interested in the script that you and Louis wrote.  May I have 
> a copy?
> --
> Mason

Certainly, I will send it to you offlist (the list strips attachments).


More information about the samba mailing list