Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WI0h9-0006DX-9I for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Feb 2014 18:56:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WI0h8-0000Hh-DF for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Feb 2014 18:56:02 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WI0h5-0000Cf-8F for pgsql-bugs@postgresql.org; Mon, 24 Feb 2014 18:55:59 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WI0h2-00017n-TO for pgsql-bugs@postgresql.org; Mon, 24 Feb 2014 18:55:58 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id DDC5F5F7D7; Mon, 24 Feb 2014 13:56:53 -0500 (EST) Date: Mon, 24 Feb 2014 13:56:53 -0500 From: Stephen Frost To: Brian Crowell Cc: Tom Lane , pgsql-bugs@postgresql.org Subject: Re: BUG #9337: SSPI/GSSAPI with mismatched user names Message-ID: <20140224185653.GN2921@tamriel.snowman.net> References: <20140224183440.1162.91110@wrigleys.postgresql.org> <5500.1393267495@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dfRsK+kVxpMtJnZ0" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.8.0-35-generic (x86_64) X-Uptime: 13:56:18 up 25 days, 20:55, 7 users, load average: 0.06, 0.08, 0.05 User-Agent: Mutt/1.5.21 (2010-09-15) 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 --dfRsK+kVxpMtJnZ0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Brian Crowell (brian@fluggo.com) wrote: > Right now, I'm seeing log entries like this: >=20 > 2014-02-24 11:30:40 CST LOG: provided user name (Brian) and > authenticated user name (BCrowell@REALM.COM) do not match >=20 > 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? This is what the mapping logic in pg_ident was written to address... Thanks, Stephen --dfRsK+kVxpMtJnZ0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJTC5X1AAoJEO1sijiDR2RVQKoP/RA0JBLN7khjwb18aYpjMpYF SZRT6tCDpapL9V16XFnn5et2c35n0GpdmRHk/03nVUrXU6VIdcvObwSmOab3AxOi c9C3QdD7MvKY/J2cDSENLNfg+hEx1c0lhyp4VotcJhFe2t3RaIq3vRassdr/zZYM j81C371345eU5ru2w2rLMDvSiCpzAlHMhOzi4YGP8KeaAVCX6QPTGvfXQSmdMPwb z4zk8aNtiq+lqSrFvFDkUjj/b4hio7hQLlmiI853GS5cE9lv1YqDZlVT0JE7FWZ5 jtxB0d6STo74PMAzCdurxSoJ7hjyBzQSa8q1D+aVCm3c/d3Ossc4G4A3F+FEoyW+ L4RsmN9Gg9rtIDzqDXFacwy0eQxrXGkTOVOf4INLXuaQH6CpSYPlQPEva41tGOQ5 JF1Y+YQ2jYDZZ8p/ita6NN65+pgPQ6bhehVkN1oQHUcdAgWS3P530gQswidnjo/a 4wodWw550z8W7+Xd0T9VV+WoNtN3ukMhVS9ruRnV20WHiAyFs8jrGjfncz5DfwIr cReh1exY3FRQC9K113r1eznUADUG4M27405WSxKjAtwifidUu4pCiX0FeWkC2Np7 CQMpE9KkeV3YM0bdqsXlooExW25Y52sIo+t53gwOEHYUtMooNDE/58pHCkTxcEAJ Y3MXPazjkV72DqUeDdzk =6RO3 -----END PGP SIGNATURE----- --dfRsK+kVxpMtJnZ0--