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

Daniel Lang spaci76 at gmail.com
Thu Apr 30 04:39:34 UTC 2020


i think the rid backend is not the right choose for you Issue.

look please: https://wiki.samba.org/index.php/Idmap_config_rid

All your Users use the same Shell and Folders with the same ids. I
think you should change from rid to ads and use the uidNumber and
gidNumber attributes of user accounts and groups. Verify that the User
and their ids available on the Fileserver with "getent passwd" for
Users and "getent group" for Groups.


Am Do., 30. Apr. 2020 um 05:52 Uhr schrieb Christopher Cox via samba
<samba at lists.samba.org>:
> On 4/29/20 5:55 PM, miguel medalha via samba wrote:
> > I don't know exactly what you are trying to achieve, but isn't the notion of
> > "home folder" somewhat a thing of the past? I use Folder Redirection with
> > Windows 10 clients (and Windows 7 before) and it works like a charm. User
> > Profile folders are created automatically at first login. Furthermore, it
> > gives most of the advantages of roaming profiles without their huge
> > disadvantages in today's environment. All your users' profiles are nicely
> > hosted in the same place on a server and you can very easily backup them
> > all. To increase privacy, you can use "hide unreadable = yes" at the share
> > level.
> >
> >
> Just for my own education, isn't folder redirection limited to the "shell
> folders" like Documents, Downloads, Desktop, Videos, Pictures and such?
> With that said, I do have some users "shell folders" redirected to my Samba
> server.
> But, I also can do the home folder thing as well and can understand there might
> be cases where that's preferred since not everything in your home (and correct
> me if I'm wrong) is "redirectable" in the way I think we're talking about.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list