From 076d8524671fec53943cc24ba9da4adccb46d24f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Filipensk=C3=BD?= Date: Wed, 12 Apr 2023 09:29:18 +0200 Subject: [PATCH] testprogs: Add test_alias_membership MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pavel Filipenský Reviewed-by: Andreas Schneider --- source4/selftest/tests.py | 2 + testprogs/blackbox/test_alias_membership.sh | 194 ++++++++++++++++++++ 2 files changed, 196 insertions(+) create mode 100755 testprogs/blackbox/test_alias_membership.sh diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index ef63c222a4f..e8c933e1ad7 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -566,6 +566,8 @@ plantestsuite("samba4.blackbox.net_rpc_user(ad_dc)", "ad_dc", [os.path.join(bbdi plantestsuite("samba4.blackbox.test_primary_group", "ad_dc:local", [os.path.join(bbdir, "test_primary_group.sh"), '$SERVER', '$USERNAME', '$PASSWORD', '$DOMAIN', '$PREFIX_ABS']) +plantestsuite("samba4.blackbox.test_alias_membership", "ad_member_idmap_rid:local", [os.path.join(bbdir, "test_alias_membership.sh"), '$PREFIX_ABS']) + plantestsuite("samba4.blackbox.test_old_enctypes", "fl2003dc:local", [os.path.join(bbdir, "test_old_enctypes.sh"), '$SERVER', '$USERNAME', '$PASSWORD', '$NETBIOSNAME', '$PREFIX_ABS']) if have_heimdal_support: diff --git a/testprogs/blackbox/test_alias_membership.sh b/testprogs/blackbox/test_alias_membership.sh new file mode 100755 index 00000000000..510940a6f42 --- /dev/null +++ b/testprogs/blackbox/test_alias_membership.sh @@ -0,0 +1,194 @@ +#!/bin/bash + +if [ $# -lt 1 ]; then + cat <