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-0005co-Hr@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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d662e3970d265a9edc645d2755cf427ed33498c1

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


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Fix SSPI login when multiple roundtrips are required
Next
From: Tom Lane
Date:
Subject: pgsql: Replace errdetail("%s", ...) with errdetail_internal("%s", ...).