pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: rnavarro@nocibe.fr
Subject: BUG #15495: Ldap authentication not working with multiple server in Postgresql 11
Date: Fri, 09 Nov 2018 15:47:59 +0000
Message-ID: <15495-2c39fc196c95cd72@postgresql.org> (raw)

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



view thread (4+ messages)  latest in thread

Message-ID: <15495-2c39fc196c95cd72@postgresql.org>
Permalink:  ../15495-2c39fc196c95cd72@postgresql.org/
Also on:    postgresql.org/message-id/15495-2c39fc196c95cd72@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, rnavarro@nocibe.fr
  Subject: Re: BUG #15495: Ldap authentication not working with multiple server in Postgresql 11
  In-Reply-To: <15495-2c39fc196c95cd72@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox