[pgpool-hackers: 3538] Re: [Proposal] Support LDAP Authentication
Takuma Hoshiai
hoshiai at sraoss.co.jp
Mon Mar 9 15:42:40 JST 2020
I created and attached a patch which support LDAP authentication between client and Pgpool-II.
LDAP authentication can operate in two modes(simple bind mode and search and bind
mode), auth options is set by pool_hba.conf. These are the same as PostgreSQL LDAP
authentication.
LDAP authentication require a password input from client. It is not used for
authentication between Pgpool-II and PostgreSQL by default, because LDAP and PostgreSQL
may have different passwords. If LDAP authentication password is the same as PostgreSQL,
we can reuse it for authentication between Pgpool-II and PostgreSQL by setting
backend_use_password to 1 in auth-options.
If you test a this patch, you should need automake and autoconf because this patch
edited configure.ac .
for example:
$ autoheader
$ aclocal
$ automake -a -c
$ autoconf
Comments and suggestions are welcome.
--
Takuma Hoshiai <hoshiai at sraoss.co.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgpool_ldap_auth.patch
Type: application/octet-stream
Size: 67269 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-hackers/attachments/20200309/ed44ef6e/attachment-0001.obj>
More information about the pgpool-hackers
mailing list