BUG #15495: Ldap authentication not working with multiple server inPostgresql 11 - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #15495: Ldap authentication not working with multiple server inPostgresql 11
Date
Msg-id 15495-2c39fc196c95cd72@postgresql.org
Whole thread Raw
Responses Re: BUG #15495: Ldap authentication not working with multiple serverin Postgresql 11
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      15495
Logged by:          Renaud Navarro
Email address:      rnavarro@nocibe.fr
PostgreSQL version: 11.1
Operating system:   Oracle Linux 7.5
Description:

Hi

After upgrade database from postgresql 10.5 to postgresql 11.1, LDAP
authentication no longer work with multiple ldap server specified.
The pg_hba.conf have the following line :
hostssl    all             all             172.20.0.0/16           ldap
ldapserver="dcinfrap01s.nocibe.net dcinfrap02s.nocibe.net"
ldapprefix="NOCIBE\" ldaptls=1 "
I have the following error in log file :
2018-11-09 16:32:45.407 CET [29629] LOG:  could not initialize LDAP: Bad
parameter to an ldap routine
2018-11-09 16:32:45.408 CET [29629] FATAL:  LDAP authentication failed for
user "admin_rnavarro"
If I modify the pg_hba.conf with one LDAP server, the authentication is
working.
The same entry with postgresql 10.5 work perfectly

Thanks for helping me

Kind Regards


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns true sporadically
Next
From: Joe Conway
Date:
Subject: Re: Compatibility issues with version 9.5