[Samba] Automatically created home only with ADUC?

Marco Gaiarin gaio at lilliput.linux.it
Wed Dec 3 13:34:41 UTC 2025


We are setting up domain members in a (MS) DC forest. We have setup 'Users'
share for homes, following:

	https://wiki.samba.org/index.php/Windows_User_Home_Folders

and all works as expected using ADUC; in particular, if i add HomeDirectory and
HomeDrive property from ADUC, home folder get created with correct permission.


But if i use powershell scripts, eg:

	Set-ADUser -Identity SamAccountName -HomeDirectory \\fileserver\users\utente -HomeDrive P:

home get not created. we are missing something, or effectively only ADUC have
the ability to create home?


Thanks.

-- 





More information about the samba mailing list