LDAP Authentication : How to set secondary server?

Поиск
Список
Период
Сортировка
От Achilleas Mantzios
Тема LDAP Authentication : How to set secondary server?
Дата
Msg-id 201107111215.30998.achill@matrix.gatewaynet.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: [SQL] using explain output within pgsql
Следующее
От: Jahnavi Chintakunta
Дата:
Сообщение: Trying to download pgpool but found the site is down :-(