Marco Gaiarin
2018-Apr-24 16:01 UTC
[Samba] [OT?] Group Policy, drive maps and Cliend Site Caching...
Sorry for that email, but i'm really confused about the subject. Starting point: in current configuration (Samba, NT mode) some portable system have CSC enabled, and when go to another site... is another site, eg does not fined the domain, so simply CSC 'work'' as expected. Now that i'm moving computer to the new domain, that is the same domain across all sites, i'm not able to make CSC properly work. Supposing i have two site 'SanVito' and 'Pasian'. In 'Sanvito', a site policy map W: to \\ARMITAGE\users and M: to \\DIXIE\media; in site 'Pasian', another site policy maps W: to \\STREGATTO\users and M: to \\AKELA\media. Because for the portable in which i need CSC i need ''fixed mappings', of course, i've setup a sub OU and defined a policy that, for computer in that OU, set the mapping. Supose that this OU is 'OU=FVG,OU=SanVito,OU=Computers,OU=Portatili', and the pc 'andrew' is in that OU. In site 'SanVito' all work as expected: the maps is correct, CSC works as expected (eg, if i disconnect the network, i can still access my files). If i move 'Andrew' to 'Pasian' site, andrew get drive mapping from the policy of the 'Pasian' site, not ''keep'' the mapping from the OU, and so ''hide'' the CSC, at least for the ''overlapping'' drive. Eg, if i enable 'offline files and folder' for a folder in M:, if i move to Pasian another 'M:' get mounted, and that offline folder ''desappear'', until i go back to sanvito. What i'm doing wrong?! Thanks... PS: or, more generic/general question... there's some way to have CSC be indipendent of the drive mapping? -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
L.P.H. van Belle
2018-Apr-25 07:22 UTC
[Samba] [OT?] Group Policy, drive maps and Cliend Site Caching...
Hai marco, I've looked for a good example. http://www.mustbegeek.com/how-to-map-network-drive-using-group-policy/ Only, i say use \\FQDN\share not \\HOSTNAME\share Basicly, the above site says, ( the importent part ) Note that drive maps actions are all based on the drive letter. Action ?Create? and ?Update? will not work if the drive letter already in use. In this case, the action ?Delete? or ?Replace? might be helpful. And key here is, dont use reconnect also for the user home. In that example, in Global set driver letter which everyone used in the drive mappings Set the user drive mappings on the Sites and enforce these. Windows caching, maybe these are helpfull for you. https://jonimattila.wordpress.com/2017/04/06/windows-10-folder-redirection-and-offline-files/ https://support.microsoft.com/nl-nl/help/942960/how-to-move-the-client-side-caching-csc-folder-to-a-new-location-in-wi Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Marco Gaiarin via samba > Verzonden: dinsdag 24 april 2018 18:02 > Aan: samba at lists.samba.org > Onderwerp: [Samba] [OT?] Group Policy, drive maps and Cliend > Site Caching... > > > Sorry for that email, but i'm really confused about the subject. > > > Starting point: in current configuration (Samba, NT mode) > some portable > system have CSC enabled, and when go to another site... is another > site, eg does not fined the domain, so simply CSC 'work'' as expected. > > Now that i'm moving computer to the new domain, that is the > same domain > across all sites, i'm not able to make CSC properly work. > > > Supposing i have two site 'SanVito' and 'Pasian'. > > In 'Sanvito', a site policy map W: to \\ARMITAGE\users and M: to > \\DIXIE\media; in site 'Pasian', another site policy maps W: to > \\STREGATTO\users and M: to \\AKELA\media. > > Because for the portable in which i need CSC i need ''fixed mappings', > of course, i've setup a sub OU and defined a policy that, for > computer in > that OU, set the mapping. Supose that this OU is > 'OU=FVG,OU=SanVito,OU=Computers,OU=Portatili', and the pc 'andrew' is > in that OU. > > > In site 'SanVito' all work as expected: the maps is correct, CSC works > as expected (eg, if i disconnect the network, i can still access my > files). > > > If i move 'Andrew' to 'Pasian' site, andrew get drive mapping from the > policy of the 'Pasian' site, not ''keep'' the mapping from > the OU, and > so ''hide'' the CSC, at least for the ''overlapping'' drive. > > Eg, if i enable 'offline files and folder' for a folder in M:, if i > move to Pasian another 'M:' get mounted, and that offline folder > ''desappear'', until i go back to sanvito. > > > What i'm doing wrong?! Thanks... > > > PS: or, more generic/general question... there's some way to have CSC > be indipendent of the drive mapping? > > -- > dott. Marco Gaiarin GNUPG > Key ID: 240A3D66 > Associazione ``La Nostra Famiglia'' > http://www.lanostrafamiglia.it/ > Polo FVG - Via della Bontà , 7 - 33078 - San Vito al > Tagliamento (PN) > marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 > f +39-0434-842797 > > Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! > http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 > (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Rowland Penny
2018-Apr-25 08:01 UTC
[Samba] [OT?] Group Policy, drive maps and Cliend Site Caching...
On Wed, 25 Apr 2018 09:22:33 +0200 "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:> Hai marco, > > I've looked for a good example. > http://www.mustbegeek.com/how-to-map-network-drive-using-group-policy/ > > Only, i say use \\FQDN\share not \\HOSTNAME\share > > Basicly, the above site says, ( the importent part ) > > Note that drive maps actions are all based on the drive letter. > Action ?Create? and ?Update? will not work if the drive letter > already in use. In this case, the action ?Delete? or ?Replace? might > be helpful. > > And key here is, dont use reconnect also for the user home. > > In that example, in Global set driver letter which everyone used in > the drive mappings Set the user drive mappings on the Sites and > enforce these. > > Windows caching, maybe these are helpfull for you. > https://jonimattila.wordpress.com/2017/04/06/windows-10-folder-redirection-and-offline-files/ > > https://support.microsoft.com/nl-nl/help/942960/how-to-move-the-client-side-caching-csc-folder-to-a-new-location-in-wi >Hi Louis, I think you missed this: current configuration (Samba, NT mode) But I think you are on the right lines, using the same drive letters for both sites is asking for trouble. However the bigger problem is that the OP is using an NT4-style domain, he really needs to investigate the direction Microsoft is moving or one day he might just find that whilst he has a fully working PDC, none of his windows clients will talk to it. Better to jump ship before it sinks. Rowland
L.P.H. van Belle
2018-Apr-25 08:22 UTC
[Samba] [OT?] Group Policy, drive maps and Cliend Site Caching...
Hai,> > Hi Louis, I think you missed this: current configuration > (Samba, NT mode) > > But I think you are on the right lines, using the same drive letters > for both sites is asking for trouble.No, thats ok and should work, since i do that also but in AD dom, and you may not use persistant drives and you disconnect them at logoff.> > However the bigger problem is that the OP is using an NT4-style domain, > he really needs to investigate the direction Microsoft is moving or > one day he might just find that whilst he has a fully working PDC, > none of his windows clients will talk to it.Arg, i saw this line (below), assuming its and AD domain.>> Supose that this OU is 'OU=FVG,OU=SanVito,OU=Computers,OU=Portatili', and the pc 'andrew'.. in that OU. <<> > Better to jump ship before it sinks.Totaly agree ...> > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >Greetz, Louis