Re: "could not accept SSPI security context" - Mailing list pgsql-general

From Magnus Hagander
Subject Re: "could not accept SSPI security context"
Date
Msg-id AANLkTin3p5=noh1-E1N84FoB+hC8HHBNR5Fpm9fuMDFx@mail.gmail.com
Whole thread Raw
In response to "could not accept SSPI security context"  (Reto Schöning <reto.schoening@gmail.com>)
List 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 by date:

Previous
From: Reto Schöning
Date:
Subject: "could not accept SSPI security context"
Next
From: Magnus Hagander
Date:
Subject: Re: "could not accept SSPI security context"