Re: SSPI client authentication in non-Windows builds - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: SSPI client authentication in non-Windows builds
Date
Msg-id AANLkTi=ZFFauYb1QzBO31tv5FsGXqfVXmoK4GECh3Crp@mail.gmail.com
Whole thread Raw
In response to SSPI client authentication in non-Windows builds  (Christian Ullrich <chris@chrullrich.net>)
Responses Re: SSPI client authentication in non-Windows builds
List pgsql-hackers
On Mon, Jan 3, 2011 at 14:11, Christian Ullrich <chris@chrullrich.net> wrote:
> Hello all,
>
> this patch adds support for connecting to servers running on Windows
> and requesting SSPI authentication. It does this by treating
> AUTH_REQ_SSPI the same as AUTH_REQ_GSS if no native SSPI support is
> available.
>
> In addition to being generally useful, this is a workaround to a
> problem with MIT KfW that I encountered back in September 2010 [1].
>
> This change has been tested and works correctly on FreeBSD 8.1, using
> the Kerberos and GSSAPI libraries from Heimdal 1.4. The server is
> running PostgreSQL 9.0.2 on Windows 2008.

Does this require some certain minimum version of the kerberos
libraries? Do you know if it works with just Heimdal or both Heimdal
and MIT?

What I'm after is: do we need a autoconf check, or a #ifdef, or
something to make sure we don't enable it in a scenario where it won't
work?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: pg_basebackup for streaming base backups
Next
From: Andrew Dunstan
Date:
Subject: Re: Warning compiling pg_dump (MinGW, Windows XP)