git.postgresql.org Git - postgresql.git/commit
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
This is the main PostgreSQL git repository.
RSS
Atom