summaryrefslogtreecommitdiff
path: root/testprogs/blackbox
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-05-30 12:07:18 +0200
committerMichael Adam <obnox@samba.org>2012-05-31 04:46:06 +0200
commit00f5473de8e34fc7077ca48ca29d2fa5c8c1814e (patch)
tree007709f8275fc8c30f5806728274f42167b4e6d1 /testprogs/blackbox
parentdf0cadbcc9c3706c8ef86dbc431795b31c1fce70 (diff)
downloadsamba-00f5473de8e34fc7077ca48ca29d2fa5c8c1814e.tar.gz
samba-00f5473de8e34fc7077ca48ca29d2fa5c8c1814e.tar.bz2
samba-00f5473de8e34fc7077ca48ca29d2fa5c8c1814e.zip
s4:selftest: change the blackbox.chgdcpass test to use a binary mapping for smbclient
Diffstat (limited to 'testprogs/blackbox')
-rwxr-xr-xtestprogs/blackbox/test_chgdcpass.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/testprogs/blackbox/test_chgdcpass.sh b/testprogs/blackbox/test_chgdcpass.sh
index 66c1e57359..37f9049eaf 100755
--- a/testprogs/blackbox/test_chgdcpass.sh
+++ b/testprogs/blackbox/test_chgdcpass.sh
@@ -5,7 +5,7 @@
if [ $# -lt 4 ]; then
cat <<EOF
-Usage: test_kinit.sh SERVER USERNAME REALM DOMAIN PREFIX
+Usage: test_kinit.sh SERVER USERNAME REALM DOMAIN PREFIX SMBCLIENT
EOF
exit 1;
fi
@@ -17,12 +17,12 @@ DOMAIN=$4
PREFIX=$5
ENCTYPE=$6
PROVDIR=$7
-shift 7
+smbclient=$8
+shift 8
failed=0
samba4bindir="$BINDIR"
samba4srcdir="$SRCDIR/source4"
-smbclient="$samba4bindir/smbclient"
samba4kinit="$samba4bindir/samba4kinit"
machineaccountccache="$samba4srcdir/scripting/bin/machineaccountccache"