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.
Hey, You need to create a GPO. There's a very good description here: https://activedirectorypro.com/map-network-drives-with-group-policy/ You can map drive per user, per group or a combination, with or without exclusions. There is a mistake in the article; you should use %LogonUser% instead of %username%. 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 >
That looks good, expect one thing here. Use FQDN in the mappings, or you most probly will hit another security setting of microsoft. Last, the screenshot of that website. It should not show the other users.. I suggest read also : https://docs.microsoft.com/en-us/windows-server/storage/folder-redirection/folder-redirection-rup-overview Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Carlos Jesus via samba > Verzonden: maandag 14 september 2020 15:37 > Aan: jmpatagonia > CC: sambalist > Onderwerp: Re: [Samba] Automatic mapping shares on logon time > > Hey, > You need to create a GPO. > There's a very good description here: > https://activedirectorypro.com/map-network-drives-with-group-policy/ > You can map drive per user, per group or a combination, with > or without > exclusions. > There is a mistake in the article; you should use %LogonUser% > instead of > %username%. > > 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 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Sorry for my mistake, this work for linux users Right?? We just need logon script for linux users for Windows users we have. El lun., 14 sept. 2020 a las 10:37, Carlos Jesus (<camjesus2 at gmail.com>) escribi?:> Hey, > You need to create a GPO. > There's a very good description here: > https://activedirectorypro.com/map-network-drives-with-group-policy/ > You can map drive per user, per group or a combination, with or without > exclusions. > There is a mistake in the article; you should use %LogonUser% instead of > %username%. > > 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 >> >