summaryrefslogtreecommitdiff
path: root/source4/setup/tests
diff options
context:
space:
mode:
authorLukasz Zalewski <lukas@eecs.qmul.ac.uk>2012-05-01 21:17:33 +0100
committerAndrew Bartlett <abartlet@samba.org>2012-05-03 08:09:09 +1000
commit9cd664b2e9a01570d4beaf3dfc9e3f93b9370e63 (patch)
treeab6f2d3d181cf2e68aee20171c753a7883c53785 /source4/setup/tests
parentd2c8ebe2c744d8ecd976328cd094267e82d18673 (diff)
downloadsamba-9cd664b2e9a01570d4beaf3dfc9e3f93b9370e63.tar.gz
samba-9cd664b2e9a01570d4beaf3dfc9e3f93b9370e63.tar.bz2
samba-9cd664b2e9a01570d4beaf3dfc9e3f93b9370e63.zip
Extension to the samba-tool group subcommand functionality to allow listing of the members of an AD group
Diffstat (limited to 'source4/setup/tests')
-rwxr-xr-xsource4/setup/tests/blackbox_group.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/setup/tests/blackbox_group.sh b/source4/setup/tests/blackbox_group.sh
index 08b8e5b56e..aaddeebf3b 100755
--- a/source4/setup/tests/blackbox_group.sh
+++ b/source4/setup/tests/blackbox_group.sh
@@ -71,4 +71,10 @@ testit "group delete" $samba_tool group delete $CONFIG ddg
testit "group delete" $samba_tool group delete $CONFIG gdg
testit "group delete" $samba_tool group delete $CONFIG udg
+#test listing of all groups
+testit "group list" $samba_tool group list $CONFIG
+
+#test listing of members of a particular group
+testit "group listmembers" $samba_tool group listmembers $CONFIG Users
+
exit $failed