Web lists-archives.com

Re: [Samba] Map share based on site?




Hai Marco, 

You can do this multiple ways. These are some good basics to read
https://blogs.technet.microsoft.com/musings_of_a_technical_tam/2012/02/13/group-policy-basics-part-1-understanding-the-structure-of-a-group-policy-object/

https://blogs.technet.microsoft.com/musings_of_a_technical_tam/2012/02/15/group-policy-basics-part-2-understanding-which-gpos-to-apply/
^^ see processing GPO Precedence..  That bit more what your looking for.

https://blogs.technet.microsoft.com/musings_of_a_technical_tam/2012/02/22/group-policy-basics-part-3-how-clients-process-gpos/

Finding the problem points.. 
http://techgenix.com/Top-10-Reasons-Why-Group-Policy-Fails-to-Apply-Part1/
http://techgenix.com/Top-10-Reasons-Why-Group-Policy-Fails-to-Apply-Part2/
http://techgenix.com/Top-10-Reasons-Why-Group-Policy-Fails-to-Apply-Part3


And a GPO example where the group is use for the drivemappings. I do this (drivemappings) per OU and Groups and computers.
http://www.itingredients.com/how-to-map-drive-using-item-level-targeting-gpo/ 

! In that example i would change the path of the share. 
This picture. 
http://www.itingredients.com/wp-content/uploads/2015/08/Map-drive-using-Item-level-targeting-GPO-8.png 
Change the location to \\dc.internal.dom.tld\share 
Now its accessable from any location, if you have your DNS setup correctly. 

The target leveling,can be handy, but not needed, read these, it helps in understanding how GPO works. 
Use RSOP.msc on the windows computer to see the resulting GPO settings.

And last the tips you want..
If you have set the GPOs on the OU, look at the processing order. 
Just make sure the Site related GPO settings are enforce and preffered.
Use FQDN for your share access. 

Test if you can access the \\AD.DOMAIN.TLD  and \\DC.AD.DOMAIN.TLD
In both cases you should be able to enter\use  netlogon and sysvol.

If you have more questions, let us know. 


Greetz, 

Louis



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens 
> Marco Gaiarin via samba
> Verzonden: woensdag 11 april 2018 18:21
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: [Samba] Map share based on site?
> 
> 
> In Samba/NT i was used to share mapping done in netlogon script, so
> users move around between sites, get home and profile from remote
> location but still have share mapped from local servers.
> 
> In Samba/AD, using GPO, share mapping is in ''user policy'', and so
> user roam between sites and get different policies?
> 
> 
> I'm googling around but i'm a bit confused... i can still use 
> 'site and
> services' defining sites and linking GPOs to sites?
> 
> Someone can pooint me to some (MS, i supposed) docs? Thanks.
> 
> -- 
> 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
> 
> 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba