traffic_replay: Assign users to groups by default
authorTim Beale <timbeale@catalyst.net.nz>
Wed, 10 Apr 2019 00:55:26 +0000 (12:55 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 30 Apr 2019 23:18:28 +0000 (23:18 +0000)
commit641d74cb267e87a22df8f9a3d285e3ab4343ce50
tree0e6475cc4d084f2faf90a328a3201001e7e30ec1
parent826e37218df691f42c79b4cce693853b5af9ddc9
traffic_replay: Assign users to groups by default

The traffic_replay script has a myriad of options, but by default when
it creates user accounts it does not assign these users to any groups
(you have to specify extra options to do that). This isn't really a fair
test of samba performance, because it's unlikely that real world setups
will have users that are in no groups (other than the default ones).

This patch changes the default behaviour so that it will assign the new
users to groups automatically, if no other group options were
specified.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
script/traffic_replay