Re: Kerberos delegation support in libpq and postgres_fdw
Stephen Frost <sfrost@snowman.net>
From: Stephen Frost <sfrost@snowman.net>
To: Jacob Champion <pchampion@vmware.com>
Cc: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, "magnus@hagander.net" <magnus@hagander.net>, "peter.eisentraut@enterprisedb.com" <peter.eisentraut@enterprisedb.com>, "tgl@sss.pgh.pa.us" <tgl@sss.pgh.pa.us>
Date: 2022-04-08T12:21:30Z
Lists: pgsql-hackers
Attachments
- v6-0001-kerberos-delegation.patch (text/x-diff) patch v6-0001
Greetings, * Stephen Frost (sfrost@snowman.net) wrote: > The new krb_user_ccache is a lot closer to 'global', though it's > specifically for user-authenticated backends (allowing the postmaster > and other things like replication connections to use whatever the > credential cache is set to by the administrator on startup), but that > seems like it makes sense to me- generally you're not going to want > regular user backends to be accessing the credential cache of the > 'postgres' unix account on the server. Added an explicit 'environment' option to allow for, basically, existing behavior, where we don't mess with the environment variable at all, though I kept the default as MEMORY since I don't think it's really typical that folks actually want regular user backends to inherit the credential cache of the server. Added a few more tests and updated the documentation too. Sadly, seems we've missed the deadline for v15 though for lack of feedback on these. Would really like to get some other folks commenting as these are new pg_hba and postgresql.conf options being added. Thanks! Stephen
Commits
-
Add support for Kerberos credential delegation
- 3d4fa227bce4 16.0 landed