]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.
authorAndres Freund <andres@anarazel.de>
Tue, 19 Oct 2021 17:14:49 +0000 (10:14 -0700)
committerAndres Freund <andres@anarazel.de>
Tue, 19 Oct 2021 18:15:45 +0000 (11:15 -0700)
commit4589c903599dc602f7d1e6facf161cc177adec9d
tree1683037eb3daaea81d05a62eb364fb12cf840890
parent0d08c279b0072fb0754ddc2b65eac0d61bade1d3
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.
src/test/ldap/t/001_auth.pl