8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07d46fc commit 881933fCopy full SHA for 881933f
src/test/kerberos/t/001_auth.pl
@@ -68,6 +68,7 @@
68
69
my $krb5_conf = "${TestLib::tmp_check}/krb5.conf";
70
my $kdc_conf = "${TestLib::tmp_check}/kdc.conf";
71
+my $krb5_cache = "${TestLib::tmp_check}/krb5cc";
72
my $krb5_log = "${TestLib::log_path}/krb5libs.log";
73
my $kdc_log = "${TestLib::log_path}/krb5kdc.log";
74
my $kdc_port = get_free_port();
@@ -139,8 +140,10 @@
139
140
141
mkdir $kdc_datadir or die;
142
143
+# Ensure that we use test's config and cache files, not global ones.
144
$ENV{'KRB5_CONFIG'} = $krb5_conf;
145
$ENV{'KRB5_KDC_PROFILE'} = $kdc_conf;
146
+$ENV{'KRB5CCNAME'} = $krb5_cache;
147
148
my $service_principal = "$ENV{with_krb_srvnam}/$host";
149
0 commit comments