testprogs: Consistantly use kinit -c $KRB5CCNAME
commit7c3bb491baf7d6f10760fb42b34a990e3806df9c
authorStefan Metzmacher <metze@samba.org>
Fri, 3 Apr 2020 14:29:36 +0000 (3 16:29 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jul 2021 23:51:43 +0000 (5 23:51 +0000)
tree89fd49138ada8789fbaff8f5561cc9f54348486c
parent0388a8f33bdde49f1cc805a0291859203c1a52b4
testprogs: Consistantly use kinit -c $KRB5CCNAME

We want to be really clear which credentials cache we use.

The kerberos_kinit() shell function uses this internally.

-c is the common option between MIT and Heimdal, and is
equivilant to --cache

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul  5 23:51:43 UTC 2021 on sn-devel-184
14 files changed:
testprogs/blackbox/common_test_fns.inc
testprogs/blackbox/test_chgdcpass.sh
testprogs/blackbox/test_export_keytab_heimdal.sh
testprogs/blackbox/test_kinit_heimdal.sh
testprogs/blackbox/test_kinit_trusts_heimdal.sh
testprogs/blackbox/test_kpasswd_heimdal.sh
testprogs/blackbox/test_ktpass.sh
testprogs/blackbox/test_net_ads_dns.sh
testprogs/blackbox/test_password_settings.sh
testprogs/blackbox/test_pkinit_heimdal.sh
testprogs/blackbox/test_pkinit_pac_heimdal.sh
testprogs/blackbox/test_s4u_heimdal.sh
testprogs/blackbox/test_samba_upgradedns.sh
testprogs/blackbox/test_trust_user_account.sh