Fix SSPI login when multiple roundtrips are required

Magnus Hagander <magnus@hagander.net>

Commit: 8aba2807424221f76b51f8d8b54b4ac414171c18
Author: Magnus Hagander <magnus@hagander.net>
Date: 2011-07-16T18:02:11Z
Releases: 8.4.9
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

Files

PathChange+/−
src/backend/libpq/auth.c modified +8 −2