mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s4:selftets: change the blackbox.bogusdomain test to use binary mapping for smbclient
This commit is contained in:
parent
11a2eeabaa
commit
da82c07e13
@ -361,7 +361,7 @@ for mech in [
|
||||
plansmbtorturetestsuite('base.xcopy', "plugin_s4_dc",
|
||||
['//$NETBIOSNAME/xcopy_share', signoptions, '-U$DC_USERNAME%$DC_PASSWORD'], "samba4.%s administrator" % name)
|
||||
|
||||
plantestsuite("samba4.blackbox.bogusdomain", "s3member", ["testprogs/blackbox/bogus.sh", "$NETBIOSNAME", "xcopy_share", '$USERNAME', '$PASSWORD', '$DC_USERNAME', '$DC_PASSWORD'])
|
||||
plantestsuite("samba4.blackbox.bogusdomain", "s3member", ["testprogs/blackbox/bogus.sh", "$NETBIOSNAME", "xcopy_share", '$USERNAME', '$PASSWORD', '$DC_USERNAME', '$DC_PASSWORD', smbclient])
|
||||
for mech in [
|
||||
"-k no",
|
||||
"-k no --option=usespnego=no",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user