netcmd: Add 'samba-tool group stats' command
commit0c910245fca70948a33eda99c9bc198d8b34675f
authorTim Beale <timbeale@catalyst.net.nz>
Thu, 18 Oct 2018 04:08:32 +0000 (18 17:08 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 31 Oct 2018 02:40:41 +0000 (31 03:40 +0100)
tree07b3f94ed5a77919359d9d3d17af42a0a7c12f03
parentca570bd4827aa8f61ceb137fbe748ac2f7929c44
netcmd: Add 'samba-tool group stats' command

With large domains it's hard to get an idea of how many groups there
are, and how many users are in each group, on average. However, this
could have a big impact on whether a problem can be reproduced or not.

This patch dumps out some summary information so that you can get a
quick idea of how big the groups are.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Wed Oct 31 03:40:41 CET 2018 on sn-devel-144
docs-xml/manpages/samba-tool.8.xml
python/samba/netcmd/group.py
python/samba/tests/samba_tool/group.py