RE: Multiple LDAP Servers for ldap Authentication - Mailing list pgsql-general

From Kumar, Virendra
Subject RE: Multiple LDAP Servers for ldap Authentication
Date
Msg-id 50a3e6ed37bc48eab591bdc2271f9650@USFKL11XG20CN01.mercer.com
Whole thread Raw
In response to Re: Multiple LDAP Servers for ldap Authentication  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-general
Hi Alvaro,

Tried with a comma and a space but it timed out one more time:
--
2018-12-20 14:34:56.070 CST [64618] FATAL:  canceling authentication due to timeout

Okay, so how would I configure openldap to try another ldap server in x amount of time if first one is not working.

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.


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Change from 9.6 to 11?
Next
From: Ravi Krishna
Date:
Subject: Re: Amazon Aurora