diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-05-11 15:07:49 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2015-07-08 18:38:22 +0200 |
commit | b2ad31ac0d28ce31b7c05fc79068a3e715d404d3 (patch) | |
tree | edf9e7aea65c098931cc23495b207942f9fc3c90 /testprogs | |
parent | 7605c5d6e8fd68576d096b18a69a458e2888c30a (diff) | |
download | samba-b2ad31ac0d28ce31b7c05fc79068a3e715d404d3.tar.gz |
testprogs/blackbox: let test_kinit_trusts.sh test a enterprise upn from the other foreset
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'testprogs')
-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` |