[Samba] Users' Home Folders - conflicting advice in WiKi

Andrew Walker walker.aj325 at gmail.com
Sat Apr 11 18:33:52 UTC 2020

On Fri, Apr 10, 2020 at 4:25 PM Alex MacCuish via samba <
samba at lists.samba.org> wrote:

> The way I do it, I create the home folder share on the server and set
> the required ACLs as in the wiki. Then I fill in the field in the ADUC
> Pane, Profile Path. Then I click ok. At that point, ADUC should open a
> connection to the share, create the new folder, set the acl correctly
> and then change the ownership.
> pam_mkhomedir is for when you're logging in say via SSH and unix needs
> somewhere to put your dot files. It's not automatically mounted from the
> user home share. These are two separate concepts. pam_mkhomedir, as far
> as I know, never automatically creates home directories on the server in
> the user profile share.

In some situations pam_mkhomedir can be used to auto-create home
directories over SMB if you have "obey pam restrictions = yes" under

More information about the samba mailing list