summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-05-30 12:15:10 +0200
committerMichael Adam <obnox@samba.org>2012-05-31 04:46:06 +0200
commitd86ae30bb8cce9fb78b655a05f3eaba4fc6a0bb8 (patch)
tree0932dd74b5cee0cf3901810ce4c439f2374bb1fd /testprogs
parent104135faa9d0c7926ceea2f3fc1152312414f210 (diff)
downloadsamba-d86ae30bb8cce9fb78b655a05f3eaba4fc6a0bb8.tar.gz
s4:selftest: change the blackbox.kinit test to use a binary mapping for smbclient
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/blackbox/test_kinit.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/testprogs/blackbox/test_kinit.sh b/testprogs/blackbox/test_kinit.sh
index 981987d03fd..0e915f02438 100755
--- a/testprogs/blackbox/test_kinit.sh
+++ b/testprogs/blackbox/test_kinit.sh
@@ -5,7 +5,7 @@
if [ $# -lt 5 ]; then
cat <<EOF
-Usage: test_kinit.sh SERVER USERNAME PASSWORD REALM DOMAIN PREFIX
+Usage: test_kinit.sh SERVER USERNAME PASSWORD REALM DOMAIN PREFIX ENCTYPE SMBCLIENT
EOF
exit 1;
fi
@@ -17,12 +17,12 @@ REALM=$4
DOMAIN=$5
PREFIX=$6
ENCTYPE=$7
-shift 7
+smbclient=$8
+shift 8
failed=0
samba4bindir="$BINDIR"
samba4srcdir="$SRCDIR/source4"
-smbclient="$samba4bindir/smbclient"
samba4kinit="$samba4bindir/samba4kinit"
samba_tool="$samba4bindir/samba-tool"
ldbmodify="$samba4bindir/ldbmodify"