pgsql: Fix SSPI login when multiple roundtrips are required - Mailing list pgsql-committers

From Magnus Hagander
Subject pgsql: Fix SSPI login when multiple roundtrips are required
Date
Msg-id E1Qi9De-0005cq-HJ@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Set different deadlock_timeout on each session in new isolation
Next
From: Magnus Hagander
Date:
Subject: pgsql: Fix SSPI login when multiple roundtrips are required