Mason Schmitt
2019-Oct-10 12:05 UTC
[Samba] how to automatically create the home directory
> > > 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
Rowland penny
2019-Oct-10 12:34 UTC
[Samba] how to automatically create the home directory
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? > > -- > MasonCertainly, I will send it to you offlist (the list strips attachments). Rowland
Stefan G. Weichinger
2019-Oct-10 12:55 UTC
[Samba] how to automatically create the home directory
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? >> >> -- >> Mason > > Certainly, I will send it to you offlist (the list strips attachments).I am interested as well, please.