Hi Tom,
thanks a lot for your super  fast answer 😊. I really appreciate that

I was asking our 3p library people how to add windows support to gss and they 
said that on windows we should use SSPI
I’m not really familiar with either gssapi or SSPI

I see that macOS has builtin support for gssapi, so all I need is to use 
–with-gssapi
On linux I use MIT Kerberos that we build in our 3p environment (only linux)
When I ask to build MIT Kerberos on windows that’s when I was advised simply to 
use SSPI

Thanks again

dm


From: Tom Lane <t...@sss.pgh.pa.us>
Date: Friday, May 19, 2023 at 11:26 AM
To: Dimitry Markman <dmark...@mathworks.com>
Cc: pgsql-hackers@lists.postgresql.org <pgsql-hackers@lists.postgresql.org>
Subject: Re: How to ensure that SSPI support (Windows) enabled?
Dimitry Markman <dmark...@mathworks.com> writes:
> I’m looking at config_default.pl file and I can see the line
> gss       => undef,    # --with-gssapi=<path>
> I was advised to use SSPI API that is built-in (windows) instead of MIT 
> Kerberos
> So what should I set and where to ensure that result PostgreSQL build will 
> support SSPI?

SSPI != GSS.  SSPI support is always built in Windows builds, see
win32_port.h:

#define ENABLE_SSPI 1

(Perhaps not the best place for such a thing, but somebody put it there.)

                        regards, tom lane

Reply via email to