[Samba] creating new users - missing uidNumber

Rowland Penny rpenny at samba.org
Wed Feb 1 13:49:16 UTC 2017

On Wed, 1 Feb 2017 14:33:09 +0100
"Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:

> Am 2017-02-01 um 12:19 schrieb Rowland Penny via samba:
> > ADUC never added uidNumbers automatically, you had to use the Unix
> > Attributes tab, but this no longer exists on windows 10, you have to
> > use the 'attributes' tab
> > 
> > The only way (that I know) to create a user with a uidNumber, is to
> > use samba-tool, run 'samba-tool user create --help' for more info.
> So samba-tool is the way to go?
> I had the impression that even a testuser created with that did miss
> that attribute ... I will check than asap.
> thanks

If you just run 'samba-tool user create testuser' you will get a user
without a uidNumber. See example5 from 'samba-tool user create --help'
for how to create a user with a uidNumber, but there is a gotcha, you
will need to track the next uidNumber or gidNumber yourself.


More information about the samba mailing list