From what I can see, ldap_init_fd() only allows the setting of
UDP/TCP/IPC protocol type and server's URI.
Will the ITS#4707 patch
) be merged into 2.4?
And since this patch only handles one IP address, further change will be necessary to
support a list of IP addresses.
From: Howard Chu [mailto:firstname.lastname@example.org]
Sent: Monday, May 22, 2017 2:49 PM
To: Quanah Gibson-Mount <quanah(a)symas.com>; Daniel Le <daniel.le(a)exfo.com>;
Subject: Re: ITS#8654 - Option for LDAP client to bind to a local address
Quanah Gibson-Mount wrote:
--On Monday, May 22, 2017 7:28 PM +0000 Daniel Le
> I tumbled into the following ITS#4707 thread:
> Patch: option to bind client socket to an address
> Wasn't this patch integrated into OpenLDAP 2.3.X? I couldn't see it
> in the 2.4.44 code base.
The notes say it was added for 2.4, but that apparently is incorrect.
"new API added in HEAD/RE24"
The notes say *a* new API was added to 2.4, not necessarily *this* one. And that is true,
we added ldap_init_fd() which lets the caller setup their socket any way they please.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/