Re: Add a hook to allow modification of the ldapbindpasswd

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-01-23T19:11:54Z
Lists: pgsql-hackers

Attachments

On 2022-12-19 Mo 11:29, Andrew Dunstan wrote:
> This patch, mostly the work of John Naylor, provides a hook whereby a
> module can modify the ldapbindpasswd before it is handed to the ldap
> server. This is similar in concept to the ssl_passphrase_callback
> feature, and allows the user not to have to put the cleartext password
> in the pg_hba.conf file. A trivial test is added which provides an
> example of such a module.


Updated to take advantage of refactoring of ldap tests.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

Commits

  1. Add a hook for modifying the ldapbind password