testprogs: Correctly set configuration in test_kinit_heimdal.sh
authorAndreas Schneider <asn@samba.org>
Mon, 13 Mar 2023 10:40:32 +0000 (11:40 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 6 Apr 2023 13:45:35 +0000 (13:45 +0000)
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>
testprogs/blackbox/test_kinit_heimdal.sh

index c7d3cfa87bc6ec76fd3b996513487bc650b278a0..9b90da28e4cca89b553b6b9a6e05c1968f6a072f 100755 (executable)
@@ -3,9 +3,9 @@
 # Copyright (C) 2006-2007 Jelmer Vernooij <jelmer@samba.org>
 # Copyright (C) 2006-2008 Andrew Bartlett <abartlet@samba.org>
 
-if [ $# -lt 5 ]; then
+if [ $# -lt 8 ]; then
        cat <<EOF
-Usage: test_kinit.sh SERVER USERNAME PASSWORD REALM DOMAIN PREFIX ENCTYPE SMBCLIENT
+Usage: test_kinit.sh SERVER USERNAME PASSWORD REALM DOMAIN PREFIX ENCTYPE SMBCLIENT CONFIGURATION
 EOF
        exit 1
 fi
@@ -18,7 +18,8 @@ DOMAIN=$5
 PREFIX=$6
 ENCTYPE=$7
 smbclient=$8
-shift 8
+CONFIGURATION=${9}
+shift 9
 failed=0
 
 samba4bindir="$BINDIR"