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 4641b2a commit 820aa9eCopy full SHA for 820aa9e
src/test/kerberos/t/001_auth.pl
@@ -67,6 +67,7 @@
67
68
my $krb5_conf = "${TestLib::tmp_check}/krb5.conf";
69
my $kdc_conf = "${TestLib::tmp_check}/kdc.conf";
70
+my $krb5_cache = "${TestLib::tmp_check}/krb5cc";
71
my $krb5_log = "${TestLib::log_path}/krb5libs.log";
72
my $kdc_log = "${TestLib::log_path}/krb5kdc.log";
73
my $kdc_port = get_free_port();
@@ -134,8 +135,10 @@
134
135
136
mkdir $kdc_datadir or die;
137
138
+# Ensure that we use test's config and cache files, not global ones.
139
$ENV{'KRB5_CONFIG'} = $krb5_conf;
140
$ENV{'KRB5_KDC_PROFILE'} = $kdc_conf;
141
+$ENV{'KRB5CCNAME'} = $krb5_cache;
142
143
my $service_principal = "$ENV{with_krb_srvnam}/$host";
144
0 commit comments