[Samba] steps to get automatic home folder created at user logon windows 10 with samba 4.9.5-Debian

Rowland penny rpenny at samba.org
Thu Apr 30 20:57:58 UTC 2020


On 30/04/2020 20:57, Jelle de Jong via samba wrote:
>
> I never was able to get the backend = ad working
>
> I only need my user to be able to login to Windows 10 systems from a 
> domain joined machine.
>
> This is how I add my users:
>
> samba-tool user create lgaga passwd --login-shell /bin/bash 
> --given-name "Lady Gaga" --home-drive=H 
> --home-directory="\\\SAMBA01\users\lgaga"
>
> Based on this wiki https://wiki.samba.org/index.php/Idmap_config_ad I 
> tried the bellow configuration again but it did now work. getent 
> passwd user or id user does not do anything. I think I am missing the 
> prerequisites when using samba-tool to create the user as above?

You are not adding the required RFC2307 attributes (uidNumber etc), 
these are not added automatically and without them, the 'ad' backend 
will not work.

Rowland




More information about the samba mailing list