netcmd: domain: silo member add and remove does not write whole list
commit8311284224539710b89ae4557951f132620c8553
authorRob van der Linde <rob@catalyst.net.nz>
Wed, 17 May 2023 11:35:16 +0000 (17 23:35 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 25 Jun 2023 23:29:32 +0000 (25 23:29 +0000)
tree324d28f633fc2380039494707c28c57dbf32c1bf
parent705e65c16e85da6117d224c7ec26adcdedce83b9
netcmd: domain: silo member add and remove does not write whole list

Writing the whole list at once can lead to data loss if multiple
administrators are doing this at the same time.

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
python/samba/netcmd/domain/auth/silo_member.py
python/samba/netcmd/domain/models/auth_silo.py