BUG #15495: Ldap authentication not working with multiple server in Postgresql 11

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: rnavarro(at)nocibe(dot)fr
Subject: BUG #15495: Ldap authentication not working with multiple server in Postgresql 11
Date: 2018-11-09 15:47:59
Message-ID: 15495-2c39fc196c95cd72@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15495
Logged by: Renaud Navarro
Email address: rnavarro(at)nocibe(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2018-11-09 15:59:43 Re: BUG #15212: Default values in partition tables don't work as expected and allow NOT NULL violation
Previous Message Tom Lane 2018-11-09 14:49:47 Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns true sporadically