[Samba] Automatic mapping shares on logon time

Carlos Jesus camjesus2 at gmail.com
Mon Sep 14 13:37:08 UTC 2020

You need to create a GPO.
There's a very good description here:
You can map drive per user, per group or a combination, with or without
There is a mistake in the article; you should use %LogonUser% instead of

Best regards

jmpatagonia via samba <samba at lists.samba.org> escreveu no dia segunda,
14/09/2020 à(s) 14:22:

> Hello we are testing samba 4.11.2 and we try automatic mapping shares
> folders for users that their have permissions on fileserver, on the logon
> time, like logon script on Windows.
> Any have a method to do this ?
> I explain, instead of the user go to "File Browser" and navigate and map
> the share folders on the fileserver, we try to automatic map this folders
> on logon time.
> regards.
> PD: We thinking in a complex method where the user guest the built-in
> samba4 ldap (ldap serach) for your groups and according the groups that
> their have mapping the file sharing with gvfs-mount, because we implemented
> the pair same group-namex-share-namex.
> --
> 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