[Samba] creating new users - missing uidNumber

Pisch Tamás pischta at gmail.com
Fri Jun 21 06:49:09 UTC 2019


there was a topic in 2017 with this subject (I don't know, whether my
mail will be a new topic, or will be appended to the old).

>> > 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.
>there are a couple of attributes (which you
>will probably not have) which will store the next uid & gidNumber.
>these are 'msSFU30MaxUidNumber' & 'msSFU30MaxGidNumber' and they
>should/can be here:

Is there any change? I mean, can samba-tool automatically add next
free uidNumber, and gidNumber, or do we still have to find it

More information about the samba mailing list