Samba – Use Roaming Profiles as Default in AD (running Samba)

active-directorydomain-controllergroup-policysamba

I've just set up an Active Directory Domain Controller (running Samba 4), created users, shares, groups, etc and everything is working.

However, I have an environment where the use of roaming profiles is wanted. I can change the profile path for each user (e.g. \SERVER\PROFILES\%USERNAME%) but how can I make this the default for all accounts (including newly created accounts).

I haven't found anything on this topic and I'm wondering why nobody wants to set default profile paths for all users with no exception.

Best Answer

Your most suitable solution would be to use group policy. Using group policy will allow you to apply a standard path for all computers.

This policy can be set by performing the following:

  1. Launch 'Group Policy Management Console' and locate the policy called 'Set roaming profile path for all users logging onto this computer'. This is located under 'Computer Configuration\Policies\Administrative Templates\System\User Profiles'.

  2. Enable this policy and set the roaming profile path:

    enter image description here

If you'd like more information regarding deploying roaming profiles across a domain, you can check out the TechNet article which provides further information:

Deploying Roaming User Profiles (Microsoft TechNet)