>> I'm almost done with implementing a patch that recognizes
>> LDAP URLs in pg_services.conf and queries an LDAP server for
>> a connection option string.
>>
>> Currently I'm coding against libldap [...]
>
> If you haven't already, look at the ldap auth patch in the queue for
> some win32 specific issues - we do not want to rely on OpenLDAP on
> windows, since there is a builtin version that's almost the
> same (close enough).
Thank you for drawing my attention to that, I wasn't aware of it.
I'll definitely try to use the native winldap interface and try to
make my patch as compatible to yours as possible (configure
--with-ldap).
If your patch is accepted and a dependency on OpenLDAP is introduced,
my patch will provide an additional gain with no additional cost.
Yours,
Laurenz Albe