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-0005cq-HJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
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
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8aba2807424221f76b51f8d8b54b4ac414171c18

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-07-16 18:23:38 pgsql: Add an errdetail_internal() ereport auxiliary routine.
Previous Message Alvaro Herrera 2011-07-15 22:48:25 pgsql: Set different deadlock_timeout on each session in new isolation