Fix SSPI login when multiple roundtrips are required

Magnus Hagander <magnus@hagander.net>

Commit: 885604d112d5b20d94e2d5d8b352d47a6e585ceb
Author: Magnus Hagander <magnus@hagander.net>
Date: 2011-07-16T18:01:27Z
Releases: 9.1.0
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