diff options
Diffstat (limited to 'testprogs/blackbox/test_kinit_trusts.sh')
-rwxr-xr-x | testprogs/blackbox/test_kinit_trusts.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testprogs/blackbox/test_kinit_trusts.sh b/testprogs/blackbox/test_kinit_trusts.sh index 3a5662fdf56..43c8ad40ab4 100755 --- a/testprogs/blackbox/test_kinit_trusts.sh +++ b/testprogs/blackbox/test_kinit_trusts.sh @@ -71,6 +71,11 @@ test_smbclient "Test login with user kerberos ccache" 'ls' -k yes || failed=`exp testit "kinit with password (enterprise style)" $samba4kinit $enctype --enterprise --password-file=$PREFIX/tmppassfile --request-pac $TRUST_USERNAME@$TRUST_REALM || failed=`expr $failed + 1` test_smbclient "Test login with user kerberos ccache" 'ls' -k yes || failed=`expr $failed + 1` +if test x"${TYPE}" = x"forest" ;then + testit "kinit with password (upn enterprise style)" $samba4kinit $enctype --enterprise --password-file=$PREFIX/tmppassfile --request-pac testdenied_upn@${TRUST_REALM}.upn || failed=`expr $failed + 1` + test_smbclient "Test login with user kerberos ccache" 'ls' -k yes || failed=`expr $failed + 1` +fi + testit "kinit with password (windows style)" $samba4kinit $enctype --renewable --windows --password-file=$PREFIX/tmppassfile --request-pac $TRUST_USERNAME@$TRUST_REALM || failed=`expr $failed + 1` test_smbclient "Test login with user kerberos ccache" 'ls' -k yes || failed=`expr $failed + 1` |