Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.
authorAndres Freund <[email protected]>
Tue, 19 Oct 2021 17:14:49 +0000 (10:14 -0700)
committerAndres Freund <[email protected]>
Tue, 19 Oct 2021 18:15:45 +0000 (11:15 -0700)
commit533315b68f8a00784686500f29ee780244341bc2
treed8978d1885fbb468c706a225b3cc3fa192689c58
parent04dae19f4d5067b35b421dcd43175a5059747800
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[email protected]
Backpatch: 11-, where the tests were added.
src/test/ldap/t/001_auth.pl