Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.
Andres Freund <andres@anarazel.de>
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
| Path | Change | +/− |
|---|---|---|
| src/test/ldap/t/001_auth.pl | modified | +6 −4 |
Discussion
- ldap/t/001_auth.pl fails with openldap 2.5 4 messages · 2021-10-09 → 2021-10-19