Skip site navigation (1) Skip section navigation (2)

pgsql: Fix SSPI login when multiple roundtrips are required

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix SSPI login when multiple roundtrips are required
Date: 2011-07-16 18:04:02
Message-ID: E1Qi9De-0005cj-E7@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Fix SSPI login when multiple roundtrips are required

This fixes SSPI login failures showing "The function
requested is not supported", often showing up when connecting
to localhost. The reason was not properly updating the SSPI
handle when multiple roundtrips were required to complete the
authentication sequence.

Report and analysis by Ahmed Shinwari, patch by Magnus Hagander

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0886dde5f83611d1d84a29cb3c4549bf6588668e

Modified Files
--------------
src/backend/libpq/auth.c |   10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2011-07-16 18:23:38
Subject: pgsql: Add an errdetail_internal() ereport auxiliary routine.
Previous:From: Alvaro HerreraDate: 2011-07-15 22:48:25
Subject: pgsql: Set different deadlock_timeout on each session in newisolation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group