[Samba] Map user home dir using GPO failing
spindles7 at gmail.com
Sun Mar 3 23:46:59 UTC 2019
> In ADUC on the Profile tab, connect the desired drive letter to the path to
> the users home folder, eg \\FILESERVER\USERS\%username%
> This is what I'm trying to get away from. I don't want to have to specify a
> home dir drive letter and path for ever user, I'd rather create a new user and
> have group policy work out the mapping.
> It is important to use the %username% instead of the actual username - that
> way the folder will get created automatically if it doesn't exist.
> When in ADUC, on the profile tab of a user, if I specify the path as
> '\\fileserver\users\%username%', Windows immediately replaces
> '%username%' with the actual username, so I don't think this is helping
Yes, it replaces with the username, but if you specify %username% the user's folder will be auto-created - see https://blogs.technet.microsoft.com/askds/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders/
> Should I perhaps be using a logon script, rather than the GPO map drive
You could do, but the GPO should work too. Sometimes you have to log on twice before the GPO is applied when using Folder redirection for example; maybe that also applies with the mapped drive?
> I'm hoping someone is able to shed some light on this issue. What is working
> for others?
More information about the samba