1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

testprogs: Pass configuration to test_kinit_trusts_heimdal.sh

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15336

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2023-03-15 08:50:33 +01:00 committed by Andreas Schneider
parent 3b78011213
commit 4ea94c8eaa
2 changed files with 9 additions and 5 deletions

View File

@ -626,7 +626,8 @@ if have_heimdal_support:
'$TRUST_DOMAIN',
'$PREFIX',
"forest",
"aes256-cts-hmac-sha1-96"
"aes256-cts-hmac-sha1-96",
configuration
])
plantestsuite("samba4.blackbox.kinit_trust",
"fl2003dc:local",
@ -644,7 +645,8 @@ if have_heimdal_support:
'$TRUST_DOMAIN',
'$PREFIX',
"external",
"arcfour-hmac-md5"
"arcfour-hmac-md5",
configuration
])
plantestsuite("samba4.blackbox.kinit_trust",
"fl2000dc:local",
@ -662,7 +664,8 @@ if have_heimdal_support:
'$TRUST_DOMAIN',
'$PREFIX',
"external",
"arcfour-hmac-md5"
"arcfour-hmac-md5",
configuration
])
plantestsuite("samba4.blackbox.export.keytab",
"ad_dc:local",

View File

@ -1,9 +1,9 @@
#!/bin/sh
# Copyright (C) 2015 Stefan Metzmacher <metze@samba.org>
if [ $# -lt 13 ]; then
if [ $# -lt 14 ]; then
cat <<EOF
Usage: test_kinit_trusts.sh SERVER USERNAME PASSWORD REALM DOMAIN TRUST_USERNAME TRUST_PASSWORD TRUST_REALM TRUST_DOMAIN PREFIX TYPE ENCTYPE
Usage: test_kinit_trusts.sh SERVER USERNAME PASSWORD REALM DOMAIN TRUST_USERNAME TRUST_PASSWORD TRUST_REALM TRUST_DOMAIN PREFIX TYPE ENCTYPE CONFIGURATION
EOF
exit 1
fi
@ -23,6 +23,7 @@ shift 5
PREFIX=$1
TYPE=$2
ENCTYPE=$3
CONFIGURATION="${4}"
shift 3
failed=0