LDAP Authentication : How to set secondary server?

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: LDAP Authentication : How to set secondary server?
Date: 2011-07-11 09:15:30
Message-ID: 201107111215.30998.achill@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,
is there a way to set a secondary ldapserver in LDAP authentication in pg_hba.conf, such as that
when the primary ldapserver is down (just the LDAP service or the whole host), postgresql to query
the secondary ldap server for authentication?
Is that possible?
Or is there any notion of pg_hba.conf to be interpreted in a similar way like "sufficient" in JSSE or PAM?
e.g. have two entries :
host all all 127.0.0.1/32 ldap ldapserver=primaryldap.internal.net ldapbasedn=""
host all all 127.0.0.1/32 ldap ldapserver=secondaryldap.internal.net ldapbasedn=""

so that when the first fails, the user has a second chance to be queries in the second ldap server.

Thanx for any help.

--
Achilleas Mantzios

Browse pgsql-admin by date

  From Date Subject
Next Message Jahnavi Chintakunta 2011-07-11 10:53:31 Trying to download pgpool but found the site is down :-(
Previous Message Lukasz Brodziak 2011-07-11 07:00:08 Re: row is too big during cluster