[Samba] shares and the use of EnableLinkedConnections
Luke Barone
lukebarone at gmail.com
Tue Mar 11 21:15:40 UTC 2025
Hey Ricardo,
The "AD" way of mapping drives is with Group Policy's Mapped Drives. Create
a GPO at the same level of your users (or, preferably, at the domain root),
call it something such as "Mapped drives". Edit it, and go to User
Configuration -> Preferences -> Drive Maps. Right-click a blank area, and
click "New -> Mapped drive". Fill out the form.
To target only certain security groups, click on the [Common] tab, choose
[x] Item Level Targeting, and build your query (i.e. User is in Security
Group "GROUP_A")
On Tue, Mar 11, 2025 at 12:13 PM Ricardo Campos via samba <
samba at lists.samba.org> wrote:
> Hi.
>
> We are testing a Samba configuration with AD and a File Server (FS), both
> on Ubuntu machines.
>
> Unfortunately, the tests with shares are not working as expected.
>
> We configured a GPO so that logon.bat scripts with the desired mappings are
> automatically applied when the user logs into AD from a Windows desktop.
> This, however, is not working.
>
> We discovered that setting the EnableLinkedConnections parameter to 1 in
> the registry subkey
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
> of
> the user's Windows machine makes the mapping work.
>
> I would like to know if the use of this parameter is mandatory (for all
> versions of Windows) or if there are alternatives.
>
> Thanks.
>
> Ricardo
>
> PS. Since this seems to only have to do with the user's machine, I did not
> include information about the Samba configuration(s (AD and File Server).
> If necessary, please let me know.
> --
> 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