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:18:45 +0000 (11:18 -0700)
commit984f460e2f29e7ba9174cabb9f43a0d1dce543bf
tree897f647022278672b0dcd2ce91dd781ab13f8be1
parentb4c4a00eada3c512e819e9163114a5ad1606bc7e
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