From 44ff392ffea52e89a3ac096a6d381ae540d3473c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 8 Sep 2008 14:18:04 +1000 Subject: [PATCH] Move blackbox.smbclient to test against the member server. The DC is now using smb signing, so testing for the old SMB versions won't work. Add a new test script to check 'net join' independent of blackbox.smbclient. Andrew Bartlett --- source/client/tests/test_smbclient.sh | 6 ----- source/selftest/samba4_tests.sh | 3 ++- source/utils/tests/test_net.sh | 39 +++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 7 deletions(-) create mode 100755 source/utils/tests/test_net.sh diff --git a/source/client/tests/test_smbclient.sh b/source/client/tests/test_smbclient.sh index 27a3488c88a2..7ff03ba6e2cb 100755 --- a/source/client/tests/test_smbclient.sh +++ b/source/client/tests/test_smbclient.sh @@ -43,8 +43,6 @@ testit "share and server list" $VALGRIND $smbclient -L $SERVER $CONFIGURATION - testit "share and server list anonymously" $VALGRIND $smbclient -N -L $SERVER $CONFIGURATION $@ || failed=`expr $failed + 1` -testit "domain join" $VALGRIND bin/net join $DOMAIN $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@ || failed=`expr $failed + 1` - # Generate random file cat >tmpfile<