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.
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
> > 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. >Thanks a lot, ldbmodify is what I needed. I tried RSAT but it keeps telling me my operating system on the server would not be supported. I like cli tools more anyhow, solved the problem within minutes that way.