LDAP Authentication : How to set secondary server?

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

 



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

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux