[pgpool-committers: 6803] pgpool: Add support for LDAP authentication between client and pgpool.

Takuma Hoshiai hoshiai at sraoss.co.jp
Fri Jun 26 17:32:31 JST 2020


Add support for LDAP authentication between client and pgpool.

This commit supports LDAP authentication between application and Pgpool.
LDAP is used only to validate the user name/password pairs. LDAP parameter
(such as ldapserver,port, ldapbinddn, etc..) is specified in a row of
pool_hba.conf. When user connection is matched by ldap authentication rows
in pool_hba.conf, access ldapserver and search matching informatinonfor
username/passord.

pgpool has 'backend_use_password' option which is particular parameter
in auth-options. It is able to reuse authentication password which was
used between application and pgpool to postgres authentication.

If we use this feature, Pgpool-II must be build with --with-ldap support.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=c18c12f86d58c501feee68645c8be55ad213d9e9

Modified Files
--------------
configure.ac                     |  12 +
doc.ja/src/sgml/client-auth.sgml | 481 ++++++++++++++++++++-
doc/src/sgml/client-auth.sgml    | 330 +++++++++++++-
src/auth/pool_auth.c             |   4 +
src/auth/pool_hba.c              | 897 ++++++++++++++++++++++++++++++++++++++-
src/include/auth/pool_hba.h      |  22 +
src/include/config.h.in          |  12 +
src/pgpool.spec                  |   1 +
8 files changed, 1741 insertions(+), 18 deletions(-)



More information about the pgpool-committers mailing list