Re: LDAP: bugfix and deprecated OpenLDAP API

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Bruce Momjian <bruce@momjian.us>, Albe Laurenz <laurenz.albe@wien.gv.at>
Cc: Abhijit Menon-Sen *EXTERN* <ams@2ndQuadrant.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2014-02-01T13:02:20Z
Lists: pgsql-hackers
On 1/31/14, 6:32 PM, Bruce Momjian wrote:
> On Mon, Oct 21, 2013 at 01:31:26PM +0000, Albe Laurenz wrote:
>> Bind attempts to an LDAP server should time out after two seconds,
>> allowing additional lines in the service control file to be parsed
>> (which provide a fall back to a secondary LDAP server or default options).
>> The existing code failed to enforce that timeout during TCP connect,
>> resulting in a hang far longer than two seconds if the LDAP server
>> does not respond.
> 
> Where are we on this patch?

From my perspective, we need someone who can test this.