Using more than one LDAP?

Поиск
Список
Период
Сортировка
От Paul Förster
Тема Using more than one LDAP?
Дата
Msg-id 08D7C808-63E6-4482-A753-9F3E0DF8ABB5@gmail.com
обсуждение исходный текст
Ответы Re: Using more than one LDAP?  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-general
Hi,

can I use more than one LDAP server entry in pg_hba.conf? My tests show that only the first one is used.

Example:

ldap1.domain contains user1, user2
ldap2.another.domain contains user3, user4

All 4 users have an account in a PostgreSQL cluster.

ldap1 is openLDAP and ldap2 is Windows AD. Both naturally have different parameters/options and as such require two
differentlines in pg_hba.conf. 

If I connect as user1 or user2, it works. If I try to connect as user3 or user4, it fails because ldap1 reports the
useras non-existent, which is correct for ldap1. But in this case, ldap2 is never asked. 

How can I solve this dilemma?

Cheers,
Paul


В списке pgsql-general по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: How to convert escaped text column - force E prefix
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Using more than one LDAP?