diff options
author | Andreas Schneider <asn@samba.org> | 2023-03-15 08:08:45 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2023-04-06 13:45:35 +0000 |
commit | 62cfab55e6b3210238ee049d1768052edf24995c (patch) | |
tree | 66b950a351990e6f7cc58514690bf914cf6bd122 /testprogs | |
parent | d2bd1e34091b2fb4261578516b38db3dc1971206 (diff) | |
download | samba-62cfab55e6b3210238ee049d1768052edf24995c.tar.gz |
testprogs: Specify the KRB5CCNAME on the command line
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15336
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/test_export_keytab_mit.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testprogs/blackbox/test_export_keytab_mit.sh b/testprogs/blackbox/test_export_keytab_mit.sh index 6337662f47f..6441f82b518 100755 --- a/testprogs/blackbox/test_export_keytab_mit.sh +++ b/testprogs/blackbox/test_export_keytab_mit.sh @@ -112,11 +112,11 @@ KRB5CCNAME="$PREFIX/tmpuserccache" export KRB5CCNAME testit "kinit with keytab as user" $VALGRIND $samba_kinit -k -t $PREFIX/tmpkeytab-all $TEST_USER@$REALM || failed=$(expr $failed + 1) -test_smbclient "Test login with user kerberos ccache" 'ls' --use-kerberos=required || failed=$(expr $failed + 1) +test_smbclient "Test login with user kerberos ccache" 'ls' --use-krb5-ccache="${KRB5CCNAME}" || failed=$(expr $failed + 1) $samba_kdestroy testit "kinit with keytab as user (one princ)" $VALGRIND $samba_kinit -k -t $PREFIX/tmpkeytab-user-princ $TEST_USER@$REALM || failed=$(expr $failed + 1) -test_smbclient "Test login with user kerberos ccache (one princ)" 'ls' --use-kerberos=required || failed=$(expr $failed + 1) +test_smbclient "Test login with user kerberos ccache (one princ)" 'ls' --use-krb5-ccache="${KRB5CCNAME}" || failed=$(expr $failed + 1) $samba_kdestroy KRB5CCNAME="$PREFIX/tmpadminccache" |