From: | Maxim Orlov <orlovmg(at)gmail(dot)com> |
---|---|
To: | Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Small issue with kerberos tests |
Date: | 2025-08-18 17:04:39 |
Message-ID: | CACG=ezY1Dp-S94b78nN0ZuaBGGcMUB6_nF-VyYUwPt1ArFqmGA@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi!
Recently, I attempted to run the entire set of pg tests with
PG_TEST_EXTRA="kerberos ..." on NetBSD but encountered
a problem. The kerberos/001_auth and
libpq/005_negotiate_encryption.pl test failed with an incomprehensible
message:
[01:55:38.737](3.698s) # setting up Kerberos
# Running: krb5-config --version
Undefined subroutine &PostgreSQL::Test::Kerberos::BAIL_OUT called at
/home/omg/proj/postgres/src/test/perl/PostgreSQL/Test/Kerberos.pm line 109.
The root cause of the problem was in using
------
$ /usr/bin/krb5-config --version
heimdal 7.8.0
------
...insted of..
------
$ /usr/pkg/bin/krb5-config --version
Kerberos 5 release 1.21.3
------
In other words, PATH must be properly set to use Kerberos 5 version.
But, AFIACS, "use Test::More" is missing in Kerberos.pm resulting
in "Undefined subroutine" error instead of "Heimdal is not supported".
--
Best regards,
Maxim Orlov.
Attachment | Content-Type | Size |
---|---|---|
v1-0001-BAIL_OUT-properly-if-krb5-config-is-not-Kerberos-.patch | application/octet-stream | 756 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Marthin Laubscher | 2025-08-18 17:43:29 | Re: About Custom Aggregates, C Extensions and Memory |
Previous Message | Sami Imseih | 2025-08-18 16:53:44 | Re: Improve LWLock tranche name visibility across backends |