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

Andres Freund <andres@anarazel.de>

Commit: 984f460e2f29e7ba9174cabb9f43a0d1dce543bf
Author: Andres Freund <andres@anarazel.de>
Date: 2021-10-19T18:18:45Z
Releases: 15.0
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.

Files

PathChange+/−
src/test/ldap/t/001_auth.pl modified +6 −4

Discussion