Re: "could not accept SSPI security context"

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: "could not accept SSPI security context"
Дата
Msg-id AANLkTin3p5=noh1-E1N84FoB+hC8HHBNR5Fpm9fuMDFx@mail.gmail.com
обсуждение исходный текст
Ответ на "could not accept SSPI security context"  (Reto Schöning <reto.schoening@gmail.com>)
Список pgsql-general
On Mon, Nov 22, 2010 at 10:21, Reto Schöning <reto.schoening@gmail.com> wrote:
> Hi,
>
> I've set up 8.3 to use SSPI for authentication (clients and server on
> windows XP). I can successfully connect from clients using psql and another
> db client using SSPI authentication. However when trying to connect with
> Npgsql (2.0.11) as the same user, the following error occurs:
>
>    "could not accept SSPI security context"
>
> The same type of connection succeeds when connecting locally from the db
> server. The problem only affects connection attempts on client machines, and
> (currently) only when connecting from a .Net application using
> Npgsql. However the same error also showed up when connecting with psql
> initially. Now that works, and I'm not sure what change made that error
> disappear.
> Can anyone help me understand that error? What circumstances can lead to
> this?

There should be a details row associated with that message that should
give you some further hints on what actually went wrong.

You should probably post this to the npgsql list as well, since it
does seem to be an npgsql problem - as you say, it works from psql
which means it works from libpq.

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

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

Предыдущее
От: Reto Schöning
Дата:
Сообщение: "could not accept SSPI security context"
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: "could not accept SSPI security context"