On Sun, May 06, 2018 at 01:50:23PM +0000, arekkusu(a)r42.ch wrote:
Adding a source IP to an URI feels wrong to it.
I have not read RFC dealing with URI, however having a quick look [1] seems to
indicate that using the at sign in this way is non-standard.
I agree. @ in URIs is already defined as separating credentials (or just
username) from the host. I don't recall whether OpenLDAP supports that
usage but in any case we shouldn't re-define it.
I believe ITS#8654 is about the same feature? That one implemented this
by copying a Microsoft option, LDAP_OPT_SOCKET_BIND_ADDRESSES. I would
think that's probably a better approach. Maybe you could pick up where
the author of that one left off? He disappeared after posting his patch
for review...
thanks
Ryan