Re: ldap/t/001_auth.pl fails with openldap 2.5

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Thomas Munro <tmunro(at)postgresql(dot)org>
Subject: Re: ldap/t/001_auth.pl fails with openldap 2.5
Date: 2021-10-13 22:41:42
Message-ID: CA+hUKGL5_6ksBmZ4ebvuAecCZDZCmj7YOb009F4EH_gPanXZQQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Oct 10, 2021 at 12:39 PM Andres Freund <andres(at)anarazel(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2021-10-13 22:58:32 Re: GIN pending list cleanup during autoanalyze blocks cleanup by VACUUM
Previous Message Bruce Momjian 2021-10-13 22:26:48 XTS cipher mode for cluster file encryption