[Samba] edit user settings

Rowland Penny rpenny at samba.org
Sun Nov 6 19:36:44 UTC 2016


On Sun, 6 Nov 2016 19:11:25 +0100
Maximilian Kirchner via samba <samba at lists.samba.org> wrote:

>  I created my users on my ad dc (samba 4.5.1 self compiled on ubuntu
> 16.04) using
> samba-tool user create <username>
> 
> When initially creating the users I did not know I had to specify the
> profile-path there (e.g. samba-tool user create test
> --profile-path=\\\\srv.network\\Profiles\\test) and other settings
> like real name. If I create new users and set the profile path that
> way everything works.
> 
> Is there a way to edit my existing users? I can delete the users and
> add them later on, but then I have to redo all right settings for the
> new uid.

If you have access to windows machine, you can use the Unix Attributes
tabs in ADUC (part of RSAT) or you could write your own scripts around
ldbmodify.

Rowland



More information about the samba mailing list