LDAP Authentication : How to set secondary server? - Mailing list pgsql-admin

From Achilleas Mantzios
Subject LDAP Authentication : How to set secondary server?
Date
Msg-id 201107111215.30998.achill@matrix.gatewaynet.com
Whole thread Raw
List 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

pgsql-admin by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: [SQL] using explain output within pgsql
Next
From: Jahnavi Chintakunta
Date:
Subject: Trying to download pgpool but found the site is down :-(