[Samba] Roaming Profiles under Linux clients

steve steve at steve-ss.com
Fri Oct 5 09:36:47 MDT 2012

On 05/10/12 17:21, Michael Wood wrote:
> On 5 October 2012 13:14, steve <steve at steve-ss.com> wrote:
> [...]
>> Hi
>> It's working here with Version 4.0.0rc3-GIT-56ffe75
>> All we do to set up the roaming profile on Linux is to add the attribute:
>> profilePath: \\server\profiles\steve2
>> to the user DN entry in LDAP.
>> and whilst we're there we also map his windows home directory to his Linux
>> home directory:
>> homeDrive: Z:
>> homeDirectory: \\server\home\steve2
>> Make sure that the profiles share is writeable by the users. We chmod 1777'd
>> it.
>> HTH
>> Steve
> I've never looked at this and don't need it now, but I'm interested.
> How is this implemented on client?
The above is what ADUC adds to the directory when you fill in the fields 
on the profile tab for a user. It's quicker to use a little script 
around samba-tool user add and add the attributes on the Linux AD 
machine rather than use ADUC. You just need ldbmodify and the (in this 
example) the [home] and [profiles] shares in smb.conf. Linux clients map 
whatever the [home] share points at to the unixHomeDirectory attribute. 
The latter can use either winbind or nslcd to pull the info from ldap.
Let me know if you need any more detail.

More information about the samba mailing list