From 985e70189e1a6690bb526391f1d3e3ed0cea3fa3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 7 May 2006 11:15:52 +0000 Subject: r15486: Ensure that our Samba3-like implementation of fake-GSSAPI is tested. This also tests that the server accepts the incorrect GSSAPI checksum, and that we get the right session key. Andrew Bartlett (This used to be commit 888e2b7f4ec8e50869d323e51f191e018f8620ec) --- source4/script/tests/test_session_key.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/script/tests') diff --git a/source4/script/tests/test_session_key.sh b/source4/script/tests/test_session_key.sh index 5dbb4052ee..80b735be16 100755 --- a/source4/script/tests/test_session_key.sh +++ b/source4/script/tests/test_session_key.sh @@ -46,4 +46,8 @@ for bindoptions in validate seal; do name="RPC-SECRETS on $transport:$server[$bindoptions] with Kerberos (use target principal)" testit "$name" bin/smbtorture $TORTURE_OPTIONS $transport:"$server[$bindoptions]" -k yes -U"$username"%"$password" -W $domain "--option=clientusespnegoprincipal=yes" "--option=gensec:target_hostname=$netbios_name" RPC-SECRETS "$*" || failed=`expr $failed + 1` done +name="RPC-SECRETS on $transport:$server with Kerberos (use Samba3 style login)" + testit "$name" bin/smbtorture $TORTURE_OPTIONS $transport:"$server" -k yes -U"$username"%"$password" -W $domain "--option=gensec:fake_gssapi_krb5=yes" "--option=gensec:gssapi_krb5=no" "--option=gensec:target_hostname=$netbios_name" RPC-SECRETS "$*" || failed=`expr $failed + 1` +name="RPC-SECRETS on $transport:$server with Kerberos (use Samba3 style login, use target principal)" + testit "$name" bin/smbtorture $TORTURE_OPTIONS $transport:"$server" -k yes -U"$username"%"$password" -W $domain "--option=clientusespnegoprincipal=yes" "--option=gensec:fake_gssapi_krb5=yes" "--option=gensec:gssapi_krb5=no" "--option=gensec:target_hostname=$netbios_name" RPC-SECRETS "$*" || failed=`expr $failed + 1` testok $0 $failed -- cgit