Add a hook for modifying the ldapbind password
Andrew Dunstan <andrew@dunslane.net>
Add a hook for modifying the ldapbind password The hook can be installed by a shared_preload library. A similar mechanism could be used for radius paswords, for example, and the type name auth_password_hook_typ has been shosen with that in mind. John Naylor and Andrew Dunstan Discussion: https://postgr.es/m/469b06ed-69de-ba59-c13a-91d2372e52a9@dunslane.net
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/auth.c | modified | +11 −1 |
| src/include/libpq/auth.h | modified | +6 −0 |
| src/test/modules/ldap_password_func/ldap_password_func.c | added | +65 −0 |
| src/test/modules/ldap_password_func/Makefile | added | +25 −0 |
| src/test/modules/ldap_password_func/meson.build | added | +33 −0 |
| src/test/modules/ldap_password_func/t/001_mutated_bindpasswd.pl | added | +103 −0 |
| src/test/modules/Makefile | modified | +11 −0 |
| src/test/modules/meson.build | modified | +1 −0 |
Discussion
- Add a hook to allow modification of the ldapbindpasswd 10 messages · 2022-12-19 → 2023-03-16