Web lists-archives.com

Re: [Samba] creating new users - missing uidNumber

On Wed, 1 Feb 2017 14:33:09 +0100
"Stefan G. Weichinger via samba" <samba@xxxxxxxxxxxxxxx> 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.


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba