<p>You create the group policy on one of the windows workstations:</p>
<ul>
<li>
<p>Download and install the <a href="https://www.microsoft.com/en-us/download/details.aspx?id=7887">Windows RSAT tools</a> (link is for Win7, it’s easy to find them for 8) on one of the windows workstations.</p>
</li>
<li>
<p>Logged in as a domain admin, open Group Policy Management, either create a new policy or pick one that applies to the right users (I’m skipping over some GP concepts, you may need to look up the basics)</p>
</li>
<li>
<p>Right-click and open the policy in Group Policy Management Editor</p>
</li>
<li>
<p>Expand the User Configuration, then Policies, then Windows Settings, then select Folder Redirection.</p>
</li>
<li>
<p>You probably want to select “Basic – Redirect Everyone’s Folder to the Same Location” as the target, but the details depend on your environment. TVoici lots of tutorials online or you can just try out different options and have the policy only appy to a couple test users.</p>
</li>
</ul>
<p>A caveat for using <strong>any</strong> Group Policies with Samba is that you have to take care of sysvol replication yourself. Policies are created under the sysvol folder on DCs and in a Windows environment that’s replicated among all the DCs. But with Samba you have to set up your own replication. Si vous follow the <a href="http://Samba.org">Samba.org</a> wiki for setting up your domain and have the UIDs matched across your DCs, you can just rsync the sysvol folder.</p>