Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WI0vW-0006qb-CO for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Feb 2014 19:10:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WI0vV-0002A3-Sy for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Feb 2014 19:10:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WI0vU-00029u-UH for pgsql-bugs@postgresql.org; Mon, 24 Feb 2014 19:10:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WI0vS-0006Al-5p for pgsql-bugs@postgresql.org; Mon, 24 Feb 2014 19:10:52 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s1OJAmpa006077; Mon, 24 Feb 2014 14:10:48 -0500 From: Tom Lane To: Brian Crowell cc: pgsql-bugs@postgresql.org Subject: Re: BUG #9337: SSPI/GSSAPI with mismatched user names In-reply-to: References: <20140224183440.1162.91110@wrigleys.postgresql.org> <5500.1393267495@sss.pgh.pa.us> Comments: In-reply-to Brian Crowell message dated "Mon, 24 Feb 2014 12:50:20 -0600" Date: Mon, 24 Feb 2014 14:10:48 -0500 Message-ID: <6076.1393269048@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Brian Crowell writes: > Right now, I'm seeing log entries like this: > 2014-02-24 11:30:40 CST LOG: provided user name (Brian) and > authenticated user name (BCrowell@REALM.COM) do not match > But the Kerberos ticket is perfectly valid, and matches a Postgres > user. In this case, the program attempting to log in is incapable of > determining the correct Postgres user name to send (see Npgsql bug for > the dirty details), so why not just accept the Kerberos principal > name? Why exactly doesn't Npgsql know what the Kerberos principal name is? How did it obtain the ticket without knowing that? regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs