From 48330c828e5058823c6df09736e8e8eaefdd6565 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 15 Apr 2010 16:25:50 +1000 Subject: s4-test: check that a weak password is rejected by kpasswd Pair-Programmed-With: Andrew Bartlett --- testprogs/blackbox/test_passwords.sh | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'testprogs/blackbox') diff --git a/testprogs/blackbox/test_passwords.sh b/testprogs/blackbox/test_passwords.sh index 9a4c1915f6..167c1b244f 100755 --- a/testprogs/blackbox/test_passwords.sh +++ b/testprogs/blackbox/test_passwords.sh @@ -71,8 +71,52 @@ test_smbclient "Test login with user kerberos ccache" 'ls' -k yes || failed=`exp USERPASS=$NEWUSERPASS +WEAKPASS=testpass1 NEWUSERPASS=testPaSS@03% +# password mismatch check doesn't work yet (kpasswd bug, reported to Love) +#echo "check that password mismatch gives the right error" +#cat > ./tmpkpasswdscript < ./tmpkpasswdscript < ./tmpkpasswdscript < ./tmpkpasswdscript <