Re: How to ensure that SSPI support (Windows) enabled?

Поиск
Список
Период
Сортировка
От Dimitry Markman
Тема Re: How to ensure that SSPI support (Windows) enabled?
Дата
Msg-id MN2PR05MB639734AF3EF1D27F82BEFBB0C47C9@MN2PR05MB6397.namprd05.prod.outlook.com
обсуждение исходный текст
Ответ на Re: How to ensure that SSPI support (Windows) enabled?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: How to ensure that SSPI support (Windows) enabled?  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers

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 <tgl@sss.pgh.pa.us>
Date: Friday, May 19, 2023 at 11:26 AM
To: Dimitry Markman <dmarkman@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 <dmarkman@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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Memory leak from ExecutorState context?
Следующее
От: Aleksander Alekseev
Дата:
Сообщение: "38.10.10. Shared Memory and LWLocks" may require a clarification