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:50
Message-ID: E1mcthK-0002or-1G@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/984f460e2f29e7ba9174cabb9f43a0d1dce543bf

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 Tom Lane 2021-10-19 21:22:29 pgsql: pg_dump: Reorganize getTables()
Previous Message Andres Freund 2021-10-19 18:18:41 pgsql: Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.