Add a hook to allow modification of the ldapbindpasswd

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Add a hook to allow modification of the ldapbindpasswd
Date: 2022-12-19 16:29:09
Message-ID: 469b06ed-69de-ba59-c13a-91d2372e52a9@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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.

cheers

andrew

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

Attachment Content-Type Size
0001-Add-a-password-handling-hook-for-ldapbindpasswd.patch text/x-patch 15.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2022-12-19 16:34:39 Re: Error-safe user functions
Previous Message Andrew Dunstan 2022-12-19 16:16:08 Add a test to ldapbindpasswd