On Sun, Oct 10, 2021 at 12:39 PM Andres Freund <and...@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