Content-Length: 276024 | pFad | http://github.com/postgrespro/postgres_cluster/commit/366d302d14f7b12a911c49d25645da627163e4f1
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 a26194f commit 366d302Copy full SHA for 366d302
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
Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/366d302d14f7b12a911c49d25645da627163e4f1
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments