--On Friday, January 20, 2023 3:33 PM +0000 Norman Gray gray@nxg.name wrote:
Ondřej, hello.
On 20 Jan 2023, at 10:47, Ondřej Kuzník wrote:
That said, patches implementing some kind of SRV are welcome. The easiest way might be to introduce an lloadd tier implementation that manages its backend collection accordingly.
It's not an OpenLDAP patch, but I've attached a module which might be of interest here. This exposes a function
char* get_sorted_srv_records(const char* domain);
which does a SRV lookup, and orders the records that come back according to the specification of RFC 2782 (though in a single pass, rather than the clumsy multiple pass algorithm that the RFC suggests).
There is no license noted in this file, which would be a requirement to even look at it.
--Quanah