Re: [HACKERS] More flexible LDAP auth search filters? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] More flexible LDAP auth search filters?
Date
Msg-id CAB7nPqQRmRe0O76Yxb8g9rV0CR8g_GCBC36ik7HBsVCrsFRkkA@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] More flexible LDAP auth search filters?  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
On Wed, Sep 13, 2017 at 8:04 AM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> I wonder if there is a reasonable way to indicate or determine whether
> you have slapd installed so that check-world could run this test...

Module::Install's requires_external_bin is one:
http://search.cpan.org/~ether/Module-Install-1.18/lib/Module/Install.pod#requires_external_bin
But the bar to add a new module dependency is high.

Another trick that you could use is to attempt to run it, see if it is
present by checking for 127 sounds fragile though, for Windows
particularly, and otherwise skip the test.
-- 
Michael


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: xiaolongc
Date:
Subject: [HACKERS] Some subscriptions fail (while some succeed) with pglogical
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: [HACKERS] Patches that don't apply or don't compile: 2017-09-12