Re: ldap/t/001_auth.pl fails with openldap 2.5
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>,
Peter Eisentraut <peter_e@gmx.net>, Thomas Munro <tmunro@postgresql.org>
Date: 2021-10-13T22:41:42Z
Lists: pgsql-hackers
On Sun, Oct 10, 2021 at 12:39 PM Andres Freund <andres@anarazel.de> wrote: > Seems we need to replace -h & -p with a -H ldap://server:port/ style URI? I > think that's fine to do unconditionally, the -H schema is pretty old I think > (I seem to recall using it in the mid 2000s, when I learned to not like ldap > by experience). +1 > The only reason I'm hesitating a bit is that f0e60ee4bc0, the commit adding > the ldap test suite, used an ldap:// uri for the server, but then 27cd521e6e7 > (adding the ldapsearch) didn't use that for the ldapsearch? Thomas? My mistake, I probably copied it from somewhere without reading the deprecation notice in the man page. I found the discussion[1], which says "These options have been deprecated since 2000, so you've had literally 20 years to migrate away from them". [1] https://bugs.openldap.org/show_bug.cgi?id=8618
Commits
-
Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.
- 984f460e2f29 15.0 landed
- 9aef40155739 12.9 landed
- 533315b68f8a 14.1 landed
- 4589c903599d 11.14 landed
- 246a035f05c6 13.5 landed