Skip to content

ITS#8847 Add SOCKET_BIND_ADDRESSES Option

Lukas However requested to merge howeverAT/openldap:master into master

With the current logic, when the openldap client attempts to connect to the target LDAP server, the client automatically binds to an IP address returned by the kernel, so there is no way to specify a user-specific source IP address. This feature introduces a new option "LDAP_OPT_SOCKET_BIND_ADDRESSES" where the user can specify any dedicated IP/interface to connect to the target server.

It's my first merge request here, so be nice :-)

The attached patch file is derived from OpenLDAP Software. All of the modifications to OpenLDAP Software represented in the following patch(es) were developed by Lukas Wimmer laeufer4321@gmx.at. I have not assigned rights and/or interest in this work to any party.

I, Lukas Wimmer, hereby place the following modifications to OpenLDAP Software (and only these modifications) into the public domain. Hence, these modifications may be freely used and/or redistributed for any purpose with or without attribution and/or other notice.

Edited by Lukas However

Merge request reports