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