Re: Kerberos test suite - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Kerberos test suite
Date
Msg-id CAEepm=0yDSVb4gvsZi=RKWg6m=uFpWiSXjF9Geb8UoaCjfiLYQ@mail.gmail.com
Whole thread Raw
In response to Kerberos test suite  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: Kerberos test suite
List 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


pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: invalid memory alloc request size error with commit 4b93f579
Next
From: Rafia Sabih
Date:
Subject: Re: [HACKERS] Partition-wise aggregation/grouping