From b0f5ac82484f6ce4b2ef1e92ec8fe5d826540f6c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 17 Jun 2005 11:48:01 +0000 Subject: r7684: Add a test aimed at checking we have agreement between client and server as to the CIFS session key. JRA had pain with this being wrong against NT4 (without spnego), hence this specific test. Andrew Bartlett (This used to be commit 47f433708ba38db9bf569567cc048e65f2786ebe) --- source4/script/tests/selftest.sh | 1 + source4/script/tests/test_rpc.sh | 18 +++++++++++++++++ source4/script/tests/test_session_key.sh | 33 ++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100755 source4/script/tests/test_session_key.sh (limited to 'source4/script/tests') diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index 9ffb283886..c40d59759f 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -87,6 +87,7 @@ START=`date` failed=0 $SRCDIR/script/tests/test_ldap.sh localhost || failed=`expr $failed + $?` $SRCDIR/script/tests/test_rpc.sh localhost $USERNAME $PASSWORD $DOMAIN $ADDARG || failed=`expr $failed + $?` + $SRCDIR/script/tests/test_session_key.sh localhost $USERNAME $PASSWORD $DOMAIN $ADDARG || failed=`expr $failed + $?` $SRCDIR/script/tests/test_binding_string.sh localhost $USERNAME $PASSWORD $DOMAIN $ADDARG || failed=`expr $failed + $?` $SRCDIR/script/tests/test_echo.sh localhost $USERNAME $PASSWORD $DOMAIN $ADDARG || failed=`expr $failed + $?` $SRCDIR/script/tests/test_posix.sh //localhost/tmp $USERNAME $PASSWORD "" $ADDARG || failed=`expr $failed + $?` diff --git a/source4/script/tests/test_rpc.sh b/source4/script/tests/test_rpc.sh index d7272b0e6e..e2cf7c8c03 100755 --- a/source4/script/tests/test_rpc.sh +++ b/source4/script/tests/test_rpc.sh @@ -5,6 +5,9 @@ ncacn_np_tests="RPC-SPOOLSS RPC-SCHANNEL RPC-ECHO RPC-DSSETUP RPC-ALTERCONTEXT RPC-MULTIBIND" ncalrpc_tests="RPC-SCHANNEL RPC-ECHO RPC-DSSETUP RPC-ALTERCONTEXT RPC-MULTIBIND" ncacn_ip_tcp_tests="RPC-SCHANNEL RPC-ECHO RPC-DSSETUP RPC-ALTERCONTEXT RPC-MULTIBIND" +slow_ncacn_np_tests="RPC-SAMLOGON" +slow_ncalrpc_tests="RPC-SAMLOGON" +slow_ncacn_ip_tcp_tests="RPC-SAMLOGON" if [ $# -lt 4 ]; then cat <