Re: ldap/t/001_auth.pl fails with openldap 2.5 - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: ldap/t/001_auth.pl fails with openldap 2.5
Date
Msg-id CA+hUKGL5_6ksBmZ4ebvuAecCZDZCmj7YOb009F4EH_gPanXZQQ@mail.gmail.com
Whole thread Raw
In response to ldap/t/001_auth.pl fails with openldap 2.5  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Sun, Oct 10, 2021 at 12:39 PM Andres Freund <andres@anarazel.de> wrote:
> Seems we need to replace -h & -p with a -H ldap://server:port/ style URI? I
> think that's fine to do unconditionally, the -H schema is pretty old I think
> (I seem to recall using it in the mid 2000s, when I learned to not like ldap
> by experience).

+1

> The only reason I'm hesitating a bit is that f0e60ee4bc0, the commit adding
> the ldap test suite, used an ldap:// uri for the server, but then 27cd521e6e7
> (adding the ldapsearch) didn't use that for the ldapsearch? Thomas?

My mistake, I probably copied it from somewhere without reading the
deprecation notice in the man page.  I found the discussion[1], which
says "These options have been deprecated since 2000, so you've had
literally 20 years to migrate away from them".

[1] https://bugs.openldap.org/show_bug.cgi?id=8618



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: XTS cipher mode for cluster file encryption
Next
From: Peter Geoghegan
Date:
Subject: Re: GIN pending list cleanup during autoanalyze blocks cleanup by VACUUM