[Samba] how to automatically create the home directory

Rowland penny rpenny at samba.org
Sat Oct 12 08:12:33 UTC 2019

On 12/10/2019 02:18, Mason Schmitt wrote:
>     Just tried on a W10 PC and it doesn't work for me, I just get:
>     The \\raspberrypi.samdom.example.com
>     <http://raspberrypi.samdom.example.com>\users\rowland home folder
>     was not
>     created because the path was not found. This could be caused by
>     listing
>     non-existent folders or by not finding the server or share. The user
>     account has been updated with the new home folder value but you must
>     create the folder manually.
>     Windows can find the computer and the homes share, so, unless I am
>     missing something, this doesn't work for me.
> I currently have 5 different offices (around 50 users) in which I've 
> used this method of creating home folders. However, it doesn't appear 
> that the folder creation is related to the user's first successful 
> connection to the file server, because as soon as I add the home 
> folder path to the account profile in ADUC, I immediately see the 
> user's home directory created on the Samba file server.  I don't yet 
> understand the mechanism and haven't had the time to delve deeper to 
> figure it out, but I do know that it works and works very reliably.
> If it would be helpful for me to post my smb.conf files (DC and file 
> server), just let me know.
> -- 
> Mason
This has never worked for myself, I have tried numerous times, but I am 
willing to be convinced :-)

Yes, post the smb.confs, but also post what OS's you are using (Windows 
and Unix) and your Samba versions.

If you set anything else, this would be good to know as well.


More information about the samba mailing list