emulate/traffic: add sAMAccountName in create_group
authorJoe Guo <joeg@catalyst.net.nz>
Tue, 7 Aug 2018 04:04:48 +0000 (16:04 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 15 Aug 2018 05:08:25 +0000 (07:08 +0200)
commit371c5c70f78a65af6fcc4d124eae8c10b26bdc48
tree320b996801104ca966d19aaed7cf4bacac87dedb
parentceed07fe89d6bf80440b9951549c7247cb952388
emulate/traffic: add sAMAccountName in create_group

While using script/traffic_replay to generate users and groups, we get
autogenerated group name like:

    $2A6F42B2-39FAF4556E2BE379

This patch specify sAMAccountName to overwriten the name.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/emulate/traffic.py