[Samba] Howto create roaming profiles using samba4 commands only?

Oliver Rath rath at mglug.de
Thu Aug 7 19:05:20 MDT 2014


Hi Steve!

Am 07.08.2014 um 18:03 schrieb steve:
> On Thu, 2014-08-07 at 17:41 +0200, Oliver Rath wrote:
>> [..]
>> To create users, i do the following:
>>
>> samba-tool user add myuser1 myGreatHiddenPassword789
>> --profile-path=/var/lib/samba/profiles/myuser1
>>
>> The dir /var/lib/samba/profiles/ is set to a+rwx, so that all writings
>> are allowed. No additional acl-entries at the moment.
>>
>> If I now start my (win80)-client, the client is able to login into the
>> samba-ad-dc, but the profile isnt copied to server after logout as I
>> assumed. I hope i will solve this with the windows admin tools.
>>
>> But are roaming profiles theoretically creatable with samba4-commands only?
> Yes its:
> samba-tool user add --profile-path 

I already tried this, but unfortunatly this didnt work yet.
> If you already have your users use ldbmodify (or ldbedit) to add e.g.

ldb* is a really good hint! I will evaluate this.
> profilePath: \\sambaaid\profiles\oliver
>
> Make sure you have 1777 on /var/lib/samba/profiles

Ha! This i hadnt set the sticky bit. i will try this asap and report the
results. Thank you very much!

Regards,
Oliver



More information about the samba mailing list