[Samba] winbind question

Rowland penny rpenny at samba.org
Fri Dec 4 10:01:49 UTC 2020

On 04/12/2020 09:45, Dan Egli via samba wrote:
> I have a question. I've got a network I'm setting up where samba is 
> acting as an AD DC on one machine and other machines will authenticate 
> against it. So, how do I set winbind to create the user's home 
> directory if it doesn't exist? OR should that be done by a pam module?
> Thanks!
Depends how they will connect, if they are logging directly into 
computer, then you can use PAM to create the home directory, if they are 
connecting via Samba, then you will need to use a 'root preexec' script 
to create the home directory.


More information about the samba mailing list