Обсуждение: SSPI support

Поиск
Список
Период
Сортировка

SSPI support

От
Jade Koskela
Дата:
What is the support for sspi connections?
I am seeing a crash in the latest release of the driver on PC. 
The build from the repository doesn't reproduce, it seems there was a patch last month. 
However, when I run 'test connection' from the Windows ODBC Admin on a DSN, it gives a warning that says 'sspi not supported'. 
I found an old post (2012) that said sspi was supported in the 64bit version. This was a 32 bit build. 
Is that the issue? The connection seem to work, the only problem was the warning when testing the connection.

Thanks
Jade Koskela
Tableau Software

Re: SSPI support

От
Michael Paquier
Дата:
On Fri, Jul 25, 2014 at 4:38 PM, Jade Koskela <jkoskeladev@gmail.com> wrote:
> What is the support for sspi connections?
SSPI is supported.

> I am seeing a crash in the latest release of the driver on PC.
> The build from the repository doesn't reproduce, it seems there was a patch
> last month.
Yes, there is a fix in this area with this commit:

commit: 41993dbed1308c019a6e14152adf75162b3386fe
author: Hiroshi Inoue <inoue@tpf.co.jp>
date: Tue, 24 Jun 2014 12:22:15 +0900
This patch fixes a NULL pointer dereference occurring when connecting
using SSPI authentication (without kerberos, a local Windows user trying
to connect to postgres instance on same host). Patch originally by
Nikhil R Deshpande, 1 line added for safety by me.

I imagine that we would need asap a new release of the driver.

> However, when I run 'test connection' from the Windows ODBC Admin on a DSN,
> it gives a warning that says 'sspi not supported'.
How are your settings on the
> I found an old post (2012) that said sspi was supported in the 64bit
> version. This was a 32 bit build.
> Is that the issue? The connection seem to work, the only problem was the
> warning when testing the connection.
Er, I don't recall that 32 or 64 bit are making a difference in this
case. Perhaps you have been using a custom build that did not have
USE_SSPI set?
--
Michael