mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
a29ee3a745
We can speed up writing the group memberships by adding multiple users to a group in a single DB modify operation. To do this, we first need to reorganize the assignments so instead of being a set of tuples, it's a dictionary where key=group and value=list-of-users-in-group. add_users_to_groups() now iterates through the users/groups slightly differently, but mostly it's just indentation changes. We haven't changed the number of DB operations yet - we'll do that in the next patch. Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> |
||
---|---|---|
.. | ||
__init__.py | ||
traffic_packets.py | ||
traffic.py |