[Samba] profilePath

Rowland Penny rowlandpenny241155 at gmail.com
Sun Sep 13 08:05:57 UTC 2015

On 13/09/15 05:54, Jim Seymour wrote:
> Hi All,
> Dumping sam.tdb, and just looking around, I noticed:
>      profilePath: \\hostname\Profiles\username
> Now I know that, after I use ADUC to set that for a user, that user,
> logging in on other machines, gets that profile path with no further
> ado. So, instead of having to use ADUC, can I just set that attribute
> using ldbmodify or ldbedit?
> Thanks,
> Jim

Yes, ldbedit is the easiest, you just get the AD object open in your 
editor, change the contents of the 'profilePath' attribute and save

ldbmodify is a bit different, you need to create an ldif

dn: <full AD object ldap path>
changetype: modify
replace: profilePath
profilePath: <new profile path>

then use ldbmodify to carry out the change


More information about the samba mailing list