[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4707) patch: option to bind client socket to an address



rtsai@ironport.com wrote:
> Full_Name: Robert Tsai
> Version: 2.3.27
> OS: FreeBSD 6.1-RELEASE
> URL: ftp://ftp.openldap.org/incoming/openldap-2.3.27-bindaddr.patch.txt
> Submission from: (NULL) (63.251.108.100)
> 
> 
> This is a patch that provides a mechanism to bind the LDAP client connection to
> a desired address via ldap_set_option(..., LDAP_OPT_BINDADDR). This call saves
> some state which is then used by ldap_int_prepare_socket to bind the socket
> before opening a connection to the LDAP server.

I can't think of any good reason to need such a feature. Can you give 
some background on why anyone would use it?

-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc
   OpenLDAP Core Team            http://www.openldap.org/project/