From 22d67758efd20e62d6050fd10c8b922db75747c9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 4 Dec 2010 17:02:49 +1100 Subject: s4-tests Workaround new default of 'client ntlmv2 auth = yes' in tests The new default breaks some tests that were assuming LM or NTLM auth Andrew Bartlett --- source4/client/tests/test_smbclient.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/client') diff --git a/source4/client/tests/test_smbclient.sh b/source4/client/tests/test_smbclient.sh index 2fd5b56ca0..66cc2d9d9c 100755 --- a/source4/client/tests/test_smbclient.sh +++ b/source4/client/tests/test_smbclient.sh @@ -116,8 +116,8 @@ runcmd "Lookup name" "lookup $DOMAIN\\$USERNAME" || failed=`expr $failed + 1` #runcmd "Lookup privs of name" "privileges $DOMAIN\\$USERNAME" || failed=`expr $failed + 1` # do some simple operations using old protocol versions -runcmd "List directory with LANMAN1" 'ls' -m LANMAN1 || failed=`expr $failed + 1` -runcmd "List directory with LANMAN2" 'ls' -m LANMAN2 || failed=`expr $failed + 1` +runcmd "List directory with LANMAN1" 'ls' -m LANMAN1 --option=clientntlmv2auth=no || failed=`expr $failed + 1` +runcmd "List directory with LANMAN2" 'ls' -m LANMAN2 --option=clientntlmv2auth=no || failed=`expr $failed + 1` runcmd "Print current working directory" 'pwd'|| failed=`expr $failed + 1` -- cgit