[Samba] how to automatically create the home directory
Stefan G. Weichinger
lists at xunil.at
Thu Oct 10 12:55:45 UTC 2019
Am 10.10.19 um 14:34 schrieb Rowland penny via samba:
> 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?
> Certainly, I will send it to you offlist (the list strips attachments).
I am interested as well, please.
More information about the samba