pgsql: libpq: Set LDAP protocol version 3

Started by Peter Eisentraut11 months ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

libpq: Set LDAP protocol version 3

Some LDAP servers reject the default version 2 protocol. So set
version 3 before starting the connection. This matches how the
backend LDAP code has worked all along.

Co-authored-by: Andrew Jackson <andrewjackson947@gmail.com>
Reviewed-by: Pavel Seleznev <pavel.seleznev@gmail.com>
Discussion: /messages/by-id/CAKK5BkHixcivSCA9pfd_eUp7wkLRhvQ6OtGLAYrWC=k7E76LDQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5f19d13dfed35d8d4ed80d555f2d32b106771b61

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 10 ++++++++++
1 file changed, 10 insertions(+)