From 0a796f5677e6465b4caa01b8e6c4720cd16dcdd4 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 20 Oct 2017 08:58:21 +0200 Subject: [PATCH] testprogs: Update the kpasswd setpassword test This has been fixed with b81ca4f9dcbb378a95fb3ac31bfd9a1cbe505d7d Signed-off-by: Andreas Schneider Reviewed-by: Ralph Boehme Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Fri Oct 27 15:22:43 CEST 2017 on sn-devel-144 --- testprogs/blackbox/test_kpasswd_mit.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/testprogs/blackbox/test_kpasswd_mit.sh b/testprogs/blackbox/test_kpasswd_mit.sh index 8a0bce449f3c..d08367ff6aba 100755 --- a/testprogs/blackbox/test_kpasswd_mit.sh +++ b/testprogs/blackbox/test_kpasswd_mit.sh @@ -192,11 +192,8 @@ test_smbclient "Test login with user kerberos" \ ### Test kpasswd service via 'net ads password' ########################################################### -# NOTE: This call works if it is compiled with Heimdal, because the Heimdal -# krb5_set_password() implementation falls back to change_password. The MIT -# function doesn't! -testit_expect_failure "change user password with 'net ads password', admin: $DOMAIN/$TEST_USERNAME, target: $TEST_PRINCIPAL (will fail)" \ - $VALGRIND $net_tool ads password -W$DOMAIN -U$TEST_PRINCIPAL%$TEST_PASSWORD $TEST_PRINCIPAL "$TEST_PASSWORD_NEW" && failed=`expr $failed + 1` +testit "change user password with 'net ads password', admin: $DOMAIN/$TEST_USERNAME, target: $TEST_PRINCIPAL" \ + $VALGRIND $net_tool ads password -W$DOMAIN -U$TEST_PRINCIPAL%$TEST_PASSWORD $TEST_PRINCIPAL "$TEST_PASSWORD_NEW" || failed=`expr $failed + 1` #TEST_PASSWORD=$TEST_PASSWORD_NEW #TEST_PASSWORD_NEW="testPaSS@06%" -- 2.34.1