Re: longfin missing gssapi_ext.h
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2023-04-08T17:47:02Z
Lists: pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes: > I suspected there would be an issue with OSX but hadn't expected an > issue with NetBSD. I had tested this across a few Linux platforms and > cfbot showed it wasn't causing issues on Windows or the platforms that > are run there. Would be really great to have a way to test these things > out on these other platforms other than just committing them and seeing > what happens on the buildfarm. I poked around a bit more and found that: * NetBSD's package collection[1] includes both Heimdal and MIT Kerberos (mit-krb5). Apparently what's installed on at least some of the buildfarm animals is the former. * FreeBSD seems to offer *only* Heimdal [2]; OpenBSD ditto [3]. * I cannot find any sign of either gss_store_cred_into or gssapi_ext.h in FreeBSD's Heimdal (7.8.0_6). So it does not look like supporting Heimdal is going to be optional, and that means the credential delegation feature is going to have to be optional, or else we need to find some equivalent Heimdal APIs. I share your feeling that we could probably blow off Apple's built-in GSSAPI. MacPorts offers both Heimdal and kerberos5, and I imagine Homebrew has at least one of them, so Mac people could easily get hold of newer implementations. But the BSDen are going to be a problem. regards, tom lane [1] https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/security/index.html [2] https://ports.freebsd.org/cgi/ports.cgi?query=kerberos&stype=all&sektion=all [3] https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/
Commits
-
Further cleanup of autoconf output files for GSSAPI changes.
- d48ac0070cff 16.0 landed
-
Update Kerberos/GSSAPI configure/meson check
- 1c52f9c042fb 16.0 landed
-
Explicitly require MIT Kerberos for GSSAPI
- f7431bca8b01 16.0 landed
-
De-Revert "Add support for Kerberos credential delegation"
- 6633cfb21691 16.0 landed
-
Revert "Add support for Kerberos credential delegation"
- 3d03b24c350a 16.0 landed