[COMMITTERS] pgsql: Allow custom search filters to be configured for LDAP auth - Mailing list pgsql-committers

From Peter Eisentraut
Subject [COMMITTERS] pgsql: Allow custom search filters to be configured for LDAP auth
Date
Msg-id E1drlbN-0004OQ-Gp@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow custom search filters to be configured for LDAP auth

Before, only filters of the form "(<ldapsearchattribute>=<user>)"
could be used to search an LDAP server.  Introduce ldapsearchfilter
so that more general filters can be configured using patterns, like
"(|(uid=$username)(mail=$username))" and "(&(uid=$username)
(objectClass=posixAccount))".  Also allow search filters to be included
in an LDAP URL.

Author: Thomas Munro
Reviewed-By: Peter Eisentraut, Mark Cave-Ayland, Magnus Hagander
Discussion: https://postgr.es/m/CAEepm=0XTkYvMci0WRubZcf_1am8=gP=7oJErpsUfRYcKF2gwg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/83aaac41c66959a3ebaec7daadc4885b5f98f561

Modified Files
--------------
doc/src/sgml/client-auth.sgml | 43 +++++++++++++++++++++++++++++++++++----
src/backend/libpq/auth.c      | 44 ++++++++++++++++++++++++++++++++--------
src/backend/libpq/hba.c       | 47 +++++++++++++++++++++++++++++++------------
src/include/libpq/hba.h       |  1 +
4 files changed, 110 insertions(+), 25 deletions(-)


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

pgsql-committers by date:

Previous
From: Michael Meskes
Date:
Subject: [COMMITTERS] pgsql: Fixed ECPG to correctly handle out-of-scope cursordeclarations
Next
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: doc: Document default scope in LDAP URL