From: Kumar, Virendra <Virendra.Kumar@guycarp.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: RE: Multiple LDAP Servers for ldap Authentication
Date: Thu, 20 Dec 2018 21:17:02 +0000
Message-ID: <aae7aaa79bcb444291a3aa92a9ee1e75@USFKL11XG20CN01.mercer.com> (raw)
In-Reply-To: <20181220202514.khcglsktleb3y65c@alvherre.pgsql>
References: <94be2b69bd3d498c8579f95ff7a2f3eb@USFKL11XG20CN01.mercer.com>
<20181220202514.khcglsktleb3y65c@alvherre.pgsql>
I figured it out, this is how it works:
--
host all all 0.0.0.0/0 ldap ldapserver=server1.com ldapserver=server2.com ldapprefix=PROD01\
So documentation need some update.
Regards,
Virendra
-----Original Message-----
From: Alvaro Herrera [mailto:alvherre@2ndquadrant.com]
Sent: Thursday, December 20, 2018 3:25 PM
To: Kumar, Virendra
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Multiple LDAP Servers for ldap Authentication
On 2018-Dec-20, Kumar, Virendra wrote:
> Comman separated doesn't work as well.
Please separate by a comma and a space, not just a comma. My reading of
the OpenLDAP source code, and some quick experiments comparing failure
patterns, suggest that that exact combination may work. (OpenLDAP is
not exactly well commented.) I think one problem you may or may not hit
is the PostgreSQL authentication timeout expiring sooner than OpenLDAP
is willing to try the second server.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
________________________________
This message is intended only for the use of the addressee and may contain
information that is PRIVILEGED AND CONFIDENTIAL.
If you are not the intended recipient, you are hereby notified that any
dissemination of this communication is strictly prohibited. If you have
received this communication in error, please erase all copies of the message
and its attachments and notify the sender immediately. Thank you.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: Virendra.Kumar@guycarp.com, alvherre@2ndquadrant.com
Subject: Re: Multiple LDAP Servers for ldap Authentication
In-Reply-To: <aae7aaa79bcb444291a3aa92a9ee1e75@USFKL11XG20CN01.mercer.com>
References: <94be2b69bd3d498c8579f95ff7a2f3eb@USFKL11XG20CN01.mercer.com> <20181220202514.khcglsktleb3y65c@alvherre.pgsql> <aae7aaa79bcb444291a3aa92a9ee1e75@USFKL11XG20CN01.mercer.com>
* 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