Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.
Date: 2018-11-13 05:58:49
Message-ID: CAEepm=3RU68WaZbmQSBRmMwJH1=-O3bRKxaY2wxT=s+6qtfqXA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Tue, Nov 13, 2018 at 6:54 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> writes:
> > Thanks, fixing. Embarassingly, I had turned off -Werror for this
> > because my Mac spews strange warnings when you use OpenLDAP, a problem
> > to which there must be a better solution.
>
> Hm, what warnings?

Apple ships OpenLDAP headers that tell you to ditch it and use Apple
OpenDirectory Framework:

fe-connect.c:4354:6: warning: 'ldap_set_option' is deprecated: first
deprecated in macOS 10.11 - use OpenDirectory Framework
[-Wdeprecated-declarations]

I should probably use MacPorts for that.

--
Thomas Munro
http://www.enterprisedb.com

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2018-11-13 06:03:41 pgsql: Fix const correctness warning.
Previous Message Tom Lane 2018-11-13 05:54:37 Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.