Re: SSPI client authentication in non-Windows builds

From: Christian Ullrich <chris(at)chrullrich(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: SSPI client authentication in non-Windows builds
Date: 2011-01-29 15:21:22
Message-ID: 4D443072.2010204@chrullrich.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Magnus Hagander wrote:

> However, i think the code path down around the error message is simply
> incorrect. That #ifdef spaghetti is pretty hard to parse, but it gives
> the wrong error message (we should say it's sspi that's not available
> when we have none of the two options) and/or a "duplicate case label"
> error, in some combinations of sspi/gssapi existing/notexisting.
>
> Attached is an updated version of the patch that passes compiling on
> all my systems in different combinations, including msvc. Can you
> verify that it still works in your env? (you don't have to retest all
> those platforms!)

Yes, it works fine, for md5, sspi, and gss authentication methods,
tested with MIT 1.4 against Windows 2008R2, PostgreSQL 8.4.4.

For some reason, the 9.0.2 binary installer for Windows does not install
the Kerberos/GSSAPI DLLs, so I cannot test with that version.

--
Christian

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2011-01-29 15:22:53 Re: SSPI client authentication in non-Windows builds
Previous Message Andrew Dunstan 2011-01-29 14:36:09 Re: Do you have a plan to support Simplified Chinese Locale