Search Postgresql Archives

Using more than one LDAP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux