Greetings,
Please don't top-post.
* Dimitry Markman (dmarkman@mathworks.com) wrote:
> I was asking our 3p library people how to add windows support to gss and they said that on windows we should use SSPI
They're correct.
> I’m not really familiar with either gssapi or SSPI
Kerberos support is provided through SSPI on Windows. On Linux and Unix
systems in general, it's provided through GSSAPI. On the wire, the two
are (mostly) compatible.
> I see that macOS has builtin support for gssapi, so all I need is to use –with-gssapi
On most Unix-based systems (and certainly for MacOS), you should be
installing MIT Kerberos and using that for your GSSAPI library. The
GSSAPI library included with MacOS has not been properly maintained by
Apple and is woefully out of date and using it will absolutely cause you
undue headaches.
> On linux I use MIT Kerberos that we build in our 3p environment (only linux)
Yes, MIT Kerberos on Linux makes sense.
> When I ask to build MIT Kerberos on windows that’s when I was advised simply to use SSPI
That's correct, you should be using SSPI on Windows is the vast majority
of cases.
Thanks,
Stephen