From: | Paul Förster <paul(dot)foerster(at)gmail(dot)com> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org> |
Subject: | Using more than one LDAP? |
Date: | 2021-01-06 14:38:44 |
Message-ID: | 08D7C808-63E6-4482-A753-9F3E0DF8ABB5@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 different lines 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 user as non-existent, which is correct for ldap1. But in this case, ldap2 is never asked.
How can I solve this dilemma?
Cheers,
Paul
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2021-01-06 14:48:04 | Re: Using more than one LDAP? |
Previous Message | Li EF Zhang | 2021-01-06 11:14:24 | RE: SQL to query running transactions with subtransactions that exceeds 64 |