[Samba] how to automatically create the home directory

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

On 10/10/2019 12:57, 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.


More information about the samba mailing list