From: brian@fluggo.com
To: pgsql-bugs@postgresql.org
Subject: BUG #9337: SSPI/GSSAPI with mismatched user names
Date: Mon, 24 Feb 2014 18:34:40 +0000
Message-ID: <20140224183440.1162.91110@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 9337
Logged by: Brian Crowell
Email address: brian@fluggo.com
PostgreSQL version: 9.3.3
Operating system: Linux
Description:
Hello. I posted this to the general discussion group, but I think it's
worthwhile to call it a bug, too.
I'm working with the Npgsql group on getting integrated security to "just
work" in the same way SQL Server's does. I wrote a workaround for one issue,
only to find out that I need more workarounds, and I finally realized that
this a problem with the way Postgres handles GSSAPI/SSPI logins. You can
read my full description here:
https://github.com/npgsql/Npgsql/issues/162#issuecomment-35916650
The short version is that Postgres requires two user names when using
GSSAPI/SSPI: one from the startup packet, and one from the Kerberos ticket,
and if these don't match exactly, the login fails. It's generally impossible
to determine the correct user name to send in the startup packet.
I think Postgres should either not require or ignore the user name in the
startup packet for these two login types.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: brian@fluggo.com
Subject: Re: BUG #9337: SSPI/GSSAPI with mismatched user names
In-Reply-To: <20140224183440.1162.91110@wrigleys.postgresql.org>
References: <20140224183440.1162.91110@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox