Hi, 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: >dn: >CN=samdom,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=samdom,DC=example,DC=com > >RowlandIs there any change? I mean, can samba-tool automatically add next free uidNumber, and gidNumber, or do we still have to find it manually?
On 21/06/2019 07:49, Pisch Tam?s via samba wrote:> Hi, > > 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). > Is there any change? I mean, can samba-tool automatically add next > free uidNumber, and gidNumber, or do we still have to find it > manually? >No, you still have to maintain the uidNumber & gidNumber attributes manually. Rowland
I have a script which carefully manages uidNumber and gidNumber attributes for users and groups. We just recently put it into production. I plan to release it as open source software soon -- and get Rowland's blessing :-) On Fri, Jun 21, 2019 at 3:42 AM Rowland penny via samba < samba at lists.samba.org> wrote:> On 21/06/2019 07:49, Pisch Tam?s via samba wrote: > > Hi, > > > > 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). > > Is there any change? I mean, can samba-tool automatically add next > > free uidNumber, and gidNumber, or do we still have to find it > > manually? > > > No, you still have to maintain the uidNumber & gidNumber attributes > manually. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >