[Samba] Scripting the next UID/GID number to use
Andrew Bartlett
abartlet at samba.org
Wed May 30 08:41:02 UTC 2018
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.
Correct.
> Following on from this, the delete will fail because the value to be
> deleted isn't what is there now
Yep.
> 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
More information about the samba
mailing list