From f1b2b43ba5bfcfca8d4868fec19e9f3789e40a46 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 12 Apr 2007 10:25:01 +0000 Subject: r22187: Test kerberos logins in the smbclient blackbox tests, including with a machine account. Andrew Bartlett (This used to be commit 16a2bb87a80ffb921f267492f453eb3457666315) --- testprogs/blackbox/test_smbclient.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testprogs') diff --git a/testprogs/blackbox/test_smbclient.sh b/testprogs/blackbox/test_smbclient.sh index a3bd958cc81..413b680a529 100755 --- a/testprogs/blackbox/test_smbclient.sh +++ b/testprogs/blackbox/test_smbclient.sh @@ -96,7 +96,9 @@ echo rm tmpfilex | runcmd "Removing file" || failed=`expr $failed + 1` echo ls | runcmd "List directory with LANMAN1" -m LANMAN1 || failed=`expr $failed + 1` echo ls | runcmd "List directory with LANMAN2" -m LANMAN2 || failed=`expr $failed + 1` -echo ls | testit "Test login with --machine-pass" $VALGRIND bin/smbclient $CONFIGURATION //$SERVER/tmp --machine-pass || failed=`expr $failed + 1` +echo ls | testit "Test login with --machine-pass without kerberos" $VALGRIND bin/smbclient $CONFIGURATION //$SERVER/tmp --machine-pass -k no || failed=`expr $failed + 1` + +echo ls | testit "Test login with --machine-pass and kerberos" $VALGRIND bin/smbclient $CONFIGURATION //$SERVER/tmp --machine-pass -k yes || failed=`expr $failed + 1` ( echo "password=$PASSWORD" -- cgit v1.2.1