git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 35e1568) | patch
Allow custom search filters to be configured for LDAP auth
2017年9月12日 13:46:14 +0000 (09:46 -0400)
2017年9月12日 13:49:04 +0000 (09:49 -0400)
commit 83aaac41c66959a3ebaec7daadc4885b5f98f561
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
doc/src/sgml/client-auth.sgml diff | blob | blame | history
src/backend/libpq/auth.c diff | blob | blame | history
src/backend/libpq/hba.c diff | blob | blame | history
src/include/libpq/hba.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /