pgsql: Add DNS SRV support for LDAP server discovery.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Add DNS SRV support for LDAP server discovery.
Дата
Msg-id E1h6nWf-0004Vw-9J@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add DNS SRV support for LDAP server discovery.

LDAP servers can be advertised on a network with RFC 2782 DNS SRV
records.  The OpenLDAP command-line tools automatically try to find
servers that way, if no server name is provided by the user.  Teach
PostgreSQL to do the same using OpenLDAP's support functions, when
building with OpenLDAP.

For now, we assume that HAVE_LDAP_INITIALIZE (an OpenLDAP extension
available since OpenLDAP 2.0 and also present in Apple LDAP) implies
that you also have ldap_domain2hostlist() (which arrived in the same
OpenLDAP version and is also present in Apple LDAP).

Author: Thomas Munro
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/CAEepm=2hAnSfhdsd6vXsM6VZVN0br-FbAZ-O+Swk18S5HkCP=A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0f086f84ad9041888b789af5871c7432f0e19c5b

Modified Files
--------------
doc/src/sgml/client-auth.sgml |  21 +++++-
src/backend/libpq/auth.c      | 152 +++++++++++++++++++++++++++++++-----------
src/backend/libpq/hba.c       |   3 +
3 files changed, 135 insertions(+), 41 deletions(-)


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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: pgsql: Make heap TID a tiebreaker nbtree index column.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Make heap TID a tiebreaker nbtree index column.