Re: How to ensure that SSPI support (Windows) enabled? - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: How to ensure that SSPI support (Windows) enabled?
Date
Msg-id ZGebpJ70BqDoLL/P@tamriel.snowman.net
Whole thread Raw
In response to Re: How to ensure that SSPI support (Windows) enabled?  (Dimitry Markman <dmarkman@mathworks.com>)
Responses Re: How to ensure that SSPI support (Windows) enabled?
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: "38.10.10. Shared Memory and LWLocks" may require a clarification
Next
From: "Daniel Verite"
Date:
Subject: Re: Should CSV parsing be stricter about mid-field quotes?