summaryrefslogtreecommitdiff
path: root/testprogs/blackbox
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-05-30 12:18:35 +0200
committerMichael Adam <obnox@samba.org>2012-05-31 04:46:06 +0200
commit72fbbdb9b35fe2f6da09512fe9d887c7a8211739 (patch)
tree6505681f1887eb566fe195525e136852371f726c /testprogs/blackbox
parente7281b450a5d77b783f0d840d1097593b57f781f (diff)
downloadsamba-72fbbdb9b35fe2f6da09512fe9d887c7a8211739.tar.gz
samba-72fbbdb9b35fe2f6da09512fe9d887c7a8211739.tar.bz2
samba-72fbbdb9b35fe2f6da09512fe9d887c7a8211739.zip
s4:selftest: change the blackbox.passwords test to use a binary mapping for smbclient
Diffstat (limited to 'testprogs/blackbox')
-rwxr-xr-xtestprogs/blackbox/test_passwords.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/testprogs/blackbox/test_passwords.sh b/testprogs/blackbox/test_passwords.sh
index 822f0fbee6..bc3447b1b5 100755
--- a/testprogs/blackbox/test_passwords.sh
+++ b/testprogs/blackbox/test_passwords.sh
@@ -5,7 +5,7 @@
if [ $# -lt 5 ]; then
cat <<EOF
-Usage: test_passwords.sh SERVER USERNAME PASSWORD REALM DOMAIN PREFIX
+Usage: test_passwords.sh SERVER USERNAME PASSWORD REALM DOMAIN PREFIX SMBCLIENT
EOF
exit 1;
fi
@@ -16,11 +16,11 @@ PASSWORD=$3
REALM=$4
DOMAIN=$5
PREFIX=$6
-shift 6
+smbclient=$7
+shift 7
failed=0
samba4bindir="$BINDIR"
-smbclient="$samba4bindir/smbclient"
samba4kinit="$samba4bindir/samba4kinit"
samba_tool="$samba4bindir/samba-tool"
smbpasswd="$samba4bindir/smbpasswd"