Re: "could not accept SSPI security context"

From: "Francisco Figueiredo Jr(dot)" <francisco(at)npgsql(dot)org>
To: Ahmed <ahmed(dot)shinwari(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: "could not accept SSPI security context"
Date: 2011-02-06 21:39:43
Message-ID: AANLkTimxZMDEzv25rpKN9wYbMkMsgeLG8e6GsCNupqyR@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, Ahmed!

Thanks for checking this problem.

It is really a bug in Npgsql to convert the bytes value with ASCII encoder.

If we change that line to use the UTF-8 encoder, wouldn't it suffice
to fix this problem?

Also, wouldn't change the AuthenticationSSPI case to use context.Host
instead of Brar's code wouldn't break cases like the one he said in
his last email?

Thanks for feedback.

On Wed, Feb 2, 2011 at 14:11, Francisco Figueiredo Jr.
<francisco(at)npgsql(dot)org> wrote:
> Thank you very much for your patch!
>
> I'm going to review and apply it.
>
> As soon as it is done, I'll let you know.
>
>
> On Wed, Feb 2, 2011 at 12:52, Ahmed <ahmed(dot)shinwari(at)gmail(dot)com> wrote:
>>
>> The issue has been addressed and patch has been submitted. Refer to Npgsql
>> mailing thread
>> http://lists.pgfoundry.org/pipermail/npgsql-devel/2011-February/001116.html
>> http://lists.pgfoundry.org/pipermail/npgsql-devel/2011-February/001116.html
>> .
>>
>> --
>> View this message in context: http://postgresql.1045698.n5.nabble.com/could-not-accept-SSPI-security-context-tp3275102p3367884.html
>> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>>
>> --
>> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-general
>>
>
>
>
> --
> Regards,
>
> Francisco Figueiredo Jr.
> Npgsql Lead Developer
> http://www.npgsql.org
> http://fxjr.blogspot.com
> http://twitter.com/franciscojunior
>

--
Regards,

Francisco Figueiredo Jr.
Npgsql Lead Developer
http://www.npgsql.org
http://fxjr.blogspot.com
http://twitter.com/franciscojunior

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2011-02-06 22:47:29 Re: What's canceling autovacuum tasks?
Previous Message Mage 2011-02-06 20:39:16 Re: isn't "insert into where not exists" atomic?