summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/blackbox/bogus.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/testprogs/blackbox/bogus.sh b/testprogs/blackbox/bogus.sh
index 68bab03f9c..be67e1992e 100755
--- a/testprogs/blackbox/bogus.sh
+++ b/testprogs/blackbox/bogus.sh
@@ -15,11 +15,11 @@ USER=$3
PWD=$4
DC_USER=$5
DC_PWD=$6
-shift 6
+smbclient=$7
+shift 7
TEST_USER=bogus_testuser
TEST_PWD=bogus_pass3#@
-smbclient="$BINDIR/smbclient"
net="$BINDIR/net"
testit_expect_failure "smbclient" $smbclient "//$SERVER/$SHARE" -W POUET -U$DC_USER%$DC_PWD -c "dir"&& failed=`expr $failed + 1`
testit "net.user.add" $net rpc user add $TEST_USER $TEST_PWD -W $SERVER -U$SERVER\\$USER%$PWD -S $SERVER