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 a7cdd3f commit b8894a3Copy full SHA for b8894a3
src/test/kerberos/t/001_auth.pl
@@ -54,6 +54,7 @@
54
55
my $krb5_conf = "${TestLib::tmp_check}/krb5.conf";
56
my $kdc_conf = "${TestLib::tmp_check}/kdc.conf";
57
+my $krb5_cache = "${TestLib::tmp_check}/krb5cc";
58
my $krb5_log = "${TestLib::log_path}/krb5libs.log";
59
my $kdc_log = "${TestLib::log_path}/krb5kdc.log";
60
my $kdc_port = get_free_port();
@@ -121,8 +122,10 @@
121
122
123
mkdir $kdc_datadir or die;
124
125
+# Ensure that we use test's config and cache files, not global ones.
126
$ENV{'KRB5_CONFIG'} = $krb5_conf;
127
$ENV{'KRB5_KDC_PROFILE'} = $kdc_conf;
128
+$ENV{'KRB5CCNAME'} = $krb5_cache;
129
130
my $service_principal = "$ENV{with_krb_srvnam}/$host";
131
0 commit comments