Web lists-archives.com

Re: [Samba] Scripting the next UID/GID number to use

On Tue, 2018-05-29 at 21:30 +0100, Rowland Penny via samba wrote:
> Fair comment, but 'msSFU30MaxUidNumber' is a single valued attribute
> and surely the 'add' will fail because the attribute already exists.


> Following on from this, the delete will fail because the value to be
> deleted isn't what is there now


> So I think it what you actually mean is:
> changetype: modify
> delete: $1
> $1: ($2 - 1) # what is there now
> -
> add: $1
> $1: $2

Yes, indeed the order matters.  Thanks!

Andrew Bartlett
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

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