Re: Kerberos test suite
Thomas Munro <thomas.munro@enterprisedb.com>
From: Thomas Munro <thomas.munro@enterprisedb.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-02-27T05:56:17Z
Lists: pgsql-hackers
On Thu, Feb 15, 2018 at 3:27 AM, Peter Eisentraut
<peter.eisentraut@2ndquadrant.com> wrote:
> Here is a patch with a test suite for the Kerberos/GSSAPI authentication
> functionality. It's very similar in principle to the recently added
> LDAP tests, and similar caveats apply.
+not run by default. You might need to adjust some paths in the test
+file to have it find MIT Kerberos in a place that hadn't been thought
+of yet.
FWIW it passes for me if I add this:
+elsif ($^O eq 'freebsd')
+{
+ $krb5_bin_dir = '/usr/local/bin';
+ $krb5_sbin_dir = '/usr/local/sbin';
+}
One thing that surprised me is that your test runs my system's
installed psql command out of my $PATH, not the one under test. Is
that expected?
--
Thomas Munro
http://www.enterprisedb.com
Commits
-
Make "kerberos" test suite independent of "localhost" name resolution.
- 75224ac20e90 11.0 landed
- e61f21b921ae 12.0 landed