Thanks Quanah and Michael. I much appreciate your help.
I am new to this list. How do I submit an enhancement request? Or would you be willing to do it on behalf of the community?
Daniel
-----Original Message----- From: Quanah Gibson-Mount [mailto:quanah@symas.com] Sent: Thursday, May 11, 2017 6:48 PM To: Daniel Le daniel.le@exfo.com Cc: openldap-technical@openldap.org Subject: Re: Client binding to a specific local address
--On Thursday, May 11, 2017 5:24 PM -0500 Quanah Gibson-Mount quanah@symas.com wrote:
Ah I see. No such option at this time that I am aware of.
Yeah, looking at os-ip.c in libldap, we have no option to use bind(2), and purely use connect(2). I suppose this could be seen as an enhancement request.
do{ osip_debug(ld, "attempting to connect: \n", 0, 0, 0); if ( connect(s, sin, addrlen) != AC_SOCKET_ERROR ) {
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com