Re: GSSAPI server side on Linux, SSPI client side on Windows

From: "Francisco Figueiredo Jr(dot)" <francisco(at)npgsql(dot)org>
To: Brian Crowell <brian(at)fluggo(dot)com>
Cc: PgSql General <pgsql-general(at)postgresql(dot)org>, Christian Ullrich <chris(at)chrullrich(dot)net>
Subject: Re: GSSAPI server side on Linux, SSPI client side on Windows
Date: 2013-11-12 18:36:46
Message-ID: CACUQdMb4SKRKS6F8mMk-1Lh86yZsw3ZzgFvNiCtyKYra0XAJ_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Nov 12, 2013 at 4:17 PM, Brian Crowell <brian(at)fluggo(dot)com> wrote:

> On Tue, Nov 12, 2013 at 5:45 AM, Francisco Figueiredo Jr.
> <francisco(at)npgsql(dot)org> wrote:
> > I'm looking forward your patch.
> > Npgsql source can be found at github.com/npgsql/Npgsql
>
> I figured out the username issue, and so I've sent a pull request:
> https://github.com/npgsql/Npgsql/pull/95
>
>

Excellent, Brian! Thank you very much. I'll review and merge it.
Before hand I think it will conflict with another pending pull request I'm
also reviewing: https://github.com/npgsql/Npgsql/pull/85
But I'll let you know if there is any problem with it.

> I encountered an issue where connection pooling doesn't distinguish
> between Integrated Security users. I tried to fix that. Hopefully it's
> ship-shape.
>
>
That's true. Npgsql connection pooling uses the connectionstring as a key
to the connection pool table. As the username isn't specified in the
connection string, Npgsql will handle connections from different integrated
security users as from the same pool.

I think your approach to freeze the user name is the best one to
distinguish the connections from the pool.

--
Regards,

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeffrey Walton 2013-11-12 20:17:18 Re: Clang 3.3 Analyzer Results
Previous Message Kevin Grittner 2013-11-12 18:24:48 Re: Theory question