pgsql: Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.
Date: 2021-10-19 18:18:33
Message-ID: E1mcth3-0002mi-QY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.

ldapsearch's deprecated -h/-p arguments were removed, need to use -H now -
which has been around for over 20 years.

As perltidy insists on reflowing the parameters anyway, change order and
"phrasing" to yield a less confusing layout (per suggestion from Tom Lane).

Discussion: https://postgr.es/m/20211009233850.wvr6apcrw2ai6cnj@alap3.anarazel.de
Backpatch: 11-, where the tests were added.

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/533315b68f8a00784686500f29ee780244341bc2

Modified Files
--------------
src/test/ldap/t/001_auth.pl | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2021-10-19 18:18:36 pgsql: Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.
Previous Message Daniel Gustafsson 2021-10-19 18:17:34 pgsql: Refactor the sslfiles Makefile target for ease of use