[Samba] AD home drive

Rowland penny rpenny at samba.org
Fri Jun 14 11:32:22 UTC 2019

On 14/06/2019 11:30, Praveen Ghimire wrote:
> Hi Rowland,
> Initially I deposited the line towards the bottom but then it didn't work. The line wasn't getting enough attention so it decided to creep up a bit :)
> As suggested in the initial email, the box was a NT4 PDC which had the all the shares. The home drive pointed to /home/%U/samba.
> Looking at the logs, to me it looks like the default smb.conf template (as suggested by Louis) doesn't match the homes definition
> Regards,
> Praveen
My mistake, you want the users home directory created when the user 
connects via Samba, this doesn't work via PAM. You need to investigate 
the 'root preexec' parameter in 'man smb.conf'


More information about the samba mailing list