summaryrefslogtreecommitdiff
path: root/testprogs/blackbox
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-05-30 12:09:25 +0200
committerMichael Adam <obnox@samba.org>2012-05-31 04:46:06 +0200
commit104135faa9d0c7926ceea2f3fc1152312414f210 (patch)
tree1687d39484ad5d8f832ad810a74be1eac0122b83 /testprogs/blackbox
parent00f5473de8e34fc7077ca48ca29d2fa5c8c1814e (diff)
downloadsamba-104135faa9d0c7926ceea2f3fc1152312414f210.tar.gz
samba-104135faa9d0c7926ceea2f3fc1152312414f210.tar.bz2
samba-104135faa9d0c7926ceea2f3fc1152312414f210.zip
s4:selftest: change the blackbox.export.keytab test to use a binary mapping for smbclient
Diffstat (limited to 'testprogs/blackbox')
-rwxr-xr-xtestprogs/blackbox/test_export_keytab.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/testprogs/blackbox/test_export_keytab.sh b/testprogs/blackbox/test_export_keytab.sh
index 14122bfe71..a72c548478 100755
--- a/testprogs/blackbox/test_export_keytab.sh
+++ b/testprogs/blackbox/test_export_keytab.sh
@@ -5,7 +5,7 @@
if [ $# -lt 5 ]; then
cat <<EOF
-Usage: test_extract_keytab.sh SERVER USERNAME REALM DOMAIN PREFIX
+Usage: test_extract_keytab.sh SERVER USERNAME REALM DOMAIN PREFIX SMBCLIENT
EOF
exit 1;
fi
@@ -15,11 +15,11 @@ USERNAME=$2
REALM=$3
DOMAIN=$4
PREFIX=$5
-shift 5
+smbclient=$6
+shift 6
failed=0
samba4bindir="$BINDIR"
-smbclient="$samba4bindir/smbclient"
samba4kinit="$samba4bindir/samba4kinit"
samba_tool="$samba4bindir/samba-tool"
newuser="$samba_tool user create"